Redis Router graceful stop (#116)
* prestop and hasparticipants in interface * add prestop function to existing routers * fakerouter prestop * update protocol version * read lock * redis router graceful stop * test fix * force stop
This commit is contained in:
+1
-1
@@ -32,7 +32,7 @@ func testTurnServer(t *testing.T) {
|
||||
require.NoError(t, err)
|
||||
go s.Start()
|
||||
waitForServerToStart(s)
|
||||
defer s.Stop()
|
||||
defer s.Stop(true)
|
||||
|
||||
time.Sleep(syncDelay)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user