Commit graph

4 commits

Author SHA1 Message Date
klizhentas 75a430bfa9 add resize sync and detection on tsh on both sides, fixes #235 2016-03-15 17:16:58 -07:00
klizhentas 519f07611b fix data races and remove sleep from tests
* fix data race with advertise ip
* remove global variable
* simplify pings logic and fix ping bug
* fix potential bug in dynamic labels
2016-03-08 18:41:05 -08:00
Ev Kontsevoy 0b75792171 More intelligent node ping
Three changes:

1. Pings are randomized. Note `utils.RandomizedDuration()` function.
2. Sleeps are twice as long between failures.
3. Made tests less vulnerable to sleep times (also sped them up by about
   three seconds)

+ minor refactoring, moved "magic constants" into a proper
constants in `defaults` module.
2016-03-08 09:17:41 -08:00
klizhentas dbca78bd3e add session renewal, faster expiration times, race conditions fixes 2016-02-26 14:57:51 -08:00