2
0
mirror of https://github.com/hibiken/asynq.git synced 2024-11-13 04:46:39 +08:00

Update docs

This commit is contained in:
krhubert 2023-10-19 13:36:21 +02:00 committed by Ken Hibino
parent 16ec43cbca
commit fdbf54eb04

View File

@ -106,9 +106,9 @@ type Config struct {
// TaskCheckInterval specifies the interval between checks for new tasks to process when all queues are empty.
//
// Be careful not to set this value too low because it adds significant load to redis.
// If unset, zero or a negative value, the interval is set to 1 second.
//
// If set to a zero or negative value, NewServer will overwrite the value with default value.
// Note: Setting this value too low may add significant load to redis.
//
// By default, TaskCheckInterval is set to 1 seconds.
TaskCheckInterval time.Duration