2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-09-20 11:05:58 +08:00

Minor fix

This commit is contained in:
Ken Hibino 2021-03-05 14:28:22 -08:00
parent 5d1ec70544
commit aa936466b3
2 changed files with 2 additions and 2 deletions

View File

@ -138,7 +138,7 @@ func (opt RedisFailoverClientOpt) MakeRedisClient() interface{} {
}) })
} }
// RedisFailoverClientOpt is used to creates a redis client that connects to // RedisClusterClientOpt is used to creates a redis client that connects to
// redis cluster. // redis cluster.
type RedisClusterClientOpt struct { type RedisClusterClientOpt struct {
// A seed list of host:port addresses of cluster nodes. // A seed list of host:port addresses of cluster nodes.

View File

@ -70,7 +70,7 @@ func TestServerRun(t *testing.T) {
go func() { go func() {
select { select {
case <-time.After(10 * time.Second): case <-time.After(10 * time.Second):
t.Fatal("server did not stop after receiving TERM signal") panic("server did not stop after receiving TERM signal")
case <-done: case <-done:
} }
}() }()