We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent aa2dd3c commit bab655bCopy full SHA for bab655b
src/Database/Table.php
@@ -357,9 +357,9 @@ public function create_lock() {
357
358
// Create the lock transient
359
if ( $this->is_global() ) {
360
- $lock_set = set_site_transient( $lock_key, time(), 15 * MINUTE_IN_SECONDS );
+ $lock_set = set_site_transient( $lock_key, time(), 900 );
361
} else {
362
- $lock_set = set_transient( $lock_key, time(), 15 * MINUTE_IN_SECONDS );
+ $lock_set = set_transient( $lock_key, time(), 900 );
363
}
364
365
// Return whether the lock was successfully created
0 commit comments