mirror of
https://github.com/netbirdio/netbird.git
synced 2026-10-28 23:39:07 +01:00
[management] reduce calls to update last usage for users and pats (#8290)
This commit is contained in:
@@ -23,6 +23,8 @@ const (
|
||||
PATChecksumLength = 6
|
||||
// PATLength total number of characters used for the token
|
||||
PATLength = 40
|
||||
// PATLastUsedUpdateInterval is the minimum age of a token's LastUsed before it is written again
|
||||
PATLastUsedUpdateInterval = time.Minute
|
||||
)
|
||||
|
||||
// PersonalAccessToken holds all information about a PAT including a hashed version of it for verification
|
||||
|
||||
Reference in New Issue
Block a user