Skip to content

Commit

Permalink
ok
Browse files Browse the repository at this point in the history
  • Loading branch information
HUAHUAI23 committed Jul 22, 2024
1 parent d40f887 commit 242c965
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ export class DedicatedDatabaseTaskService {
.collection<DedicatedDatabase>('DedicatedDatabase')
.findOneAndUpdate(
{
state: { $ne: DedicatedDatabaseState.Restarting },
state: DedicatedDatabaseState.Running,
phase: DedicatedDatabasePhase.Starting,
lockedAt: { $lt: new Date(Date.now() - this.lockTimeout * 1000) },
},
Expand Down

0 comments on commit 242c965

Please sign in to comment.