Skip to content
Snippets Groups Projects
Commit 3aec57a5 authored by Josh Brooks's avatar Josh Brooks
Browse files

Merge branch 'hotfix/IDGeneration' into 'release'

fix for constant regeneration

See merge request !135
parents 5011f3fe 091d2803
No related branches found
No related tags found
2 merge requests!170Release,!135fix for constant regeneration
...@@ -78,7 +78,7 @@ func track(session *storage.Session, addrSpace *AddressSpace, ourId *id.ID, stop ...@@ -78,7 +78,7 @@ func track(session *storage.Session, addrSpace *AddressSpace, ourId *id.ID, stop
// Generates the IDs since the last track // Generates the IDs since the last track
protoIds, err := ephemeral.GetIdsByRange( protoIds, err := ephemeral.GetIdsByRange(
ourId, uint(addressSize), lastCheck, now.Sub(lastCheck)) ourId, uint(addressSize), lastCheck, now.Add(validityGracePeriod).Sub(lastCheck))
jww.DEBUG.Printf("Now: %s, LastCheck: %s, Different: %s", jww.DEBUG.Printf("Now: %s, LastCheck: %s, Different: %s",
now, lastCheck, now.Sub(lastCheck)) now, lastCheck, now.Sub(lastCheck))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment