Skip to content

Commit

Permalink
chore: decrease expire time to 2 hours
Browse files Browse the repository at this point in the history
  • Loading branch information
Yeuoly committed Nov 14, 2024
1 parent 4a49253 commit 24de606
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ const (
CONNECTION_KEY_MANAGER_KEY2ID_PREFIX = "remote:key:manager:key2id"
CONNECTION_KEY_MANAGER_ID2KEY_PREFIX = "remote:key:manager:id2key"
CONNECTION_KEY_LOCK = "connection_lock"
CONNECTION_KEY_EXPIRE_TIME = time.Hour * 15
CONNECTION_KEY_EXPIRE_TIME = time.Minute * 120 // 2 hours
)

// returns a random string, create it if not exists
Expand Down

0 comments on commit 24de606

Please sign in to comment.