Skip to content

Commit 2285536

Browse files
decrease migrations lock from 30s to 3s
1 parent beb621f commit 2285536

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

CHANGELOG.md

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,6 @@
11
# Changelog
22

3+
34
### 2.0.15 - Sep 17, 2025
45

56
- Fix count of total number of rows in table for grouped result.

src/Migrations.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public function maybe_run(): void
4141
return;
4242
}
4343

44-
set_transient("{$this->prefix}_migrations_running", true, 5);
44+
set_transient("{$this->prefix}_migrations_running", true, 3);
4545
$this->run();
4646
delete_transient("{$this->prefix}_migrations_running");
4747
}

0 commit comments

Comments
 (0)