mirror of
https://github.com/christianselig/apollo-backend
synced 2024-11-25 13:17:42 +00:00
keep locks around longer
This commit is contained in:
parent
be7bd24ae1
commit
8156756e54
1 changed files with 4 additions and 4 deletions
|
@ -10,7 +10,7 @@ import (
|
||||||
|
|
||||||
const (
|
const (
|
||||||
NotificationCheckInterval = 5 * time.Second // time between notification checks
|
NotificationCheckInterval = 5 * time.Second // time between notification checks
|
||||||
NotificationCheckTimeout = 60 * time.Second // time before we give up an account check lock
|
NotificationCheckTimeout = 5 * time.Minute // time before we give up an account check lock
|
||||||
StuckNotificationCheckInterval = 2 * time.Minute // time between stuck notification checks
|
StuckNotificationCheckInterval = 2 * time.Minute // time between stuck notification checks
|
||||||
StaleTokenThreshold = 2 * time.Hour // time an oauth token has to be expired for to be stale
|
StaleTokenThreshold = 2 * time.Hour // time an oauth token has to be expired for to be stale
|
||||||
)
|
)
|
||||||
|
|
Loading…
Reference in a new issue