Chore: Fix various spelling errors in back-end code (#25241)
* Chore: Fix various spelling errors in back-end code Co-authored-by: Sofia Papagiannaki <papagian@users.noreply.github.com> Co-authored-by: Josh Soref <jsoref@users.noreply.github.com>>
This commit is contained in:
co-authored by
Sofia Papagiannaki
Josh Soref
parent
13787294c6
commit
07582a8e85
@@ -38,8 +38,8 @@ func (sl *ServerLockService) LockAndExecute(ctx context.Context, actionName stri
|
||||
|
||||
// avoid execution if last lock happened less than `maxInterval` ago
|
||||
if rowLock.LastExecution != 0 {
|
||||
lastExeuctionTime := time.Unix(rowLock.LastExecution, 0)
|
||||
if lastExeuctionTime.Unix() > time.Now().Add(-maxInterval).Unix() {
|
||||
lastExecutionTime := time.Unix(rowLock.LastExecution, 0)
|
||||
if lastExecutionTime.Unix() > time.Now().Add(-maxInterval).Unix() {
|
||||
return nil
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user