Semaphore based locking and hopefully the fix for the workerqueue
This commit is contained in:
parent
7097673fa1
commit
4515c36f69
7 changed files with 102 additions and 18 deletions
|
@ -1,6 +1,6 @@
|
|||
<?php
|
||||
|
||||
define('UPDATE_VERSION' , 1230);
|
||||
define('UPDATE_VERSION' , 1231);
|
||||
|
||||
/**
|
||||
*
|
||||
|
@ -1729,3 +1729,8 @@ function update_1202() {
|
|||
$r = q("UPDATE `user` SET `account-type` = %d WHERE `page-flags` IN (%d, %d)",
|
||||
dbesc(ACCOUNT_TYPE_COMMUNITY), dbesc(PAGE_COMMUNITY), dbesc(PAGE_PRVGROUP));
|
||||
}
|
||||
|
||||
function update_1230() {
|
||||
// For this special case we have to use the old update routine
|
||||
$r = q("ALTER TABLE `workerqueue` ADD `done2` tinyint(1) NOT NULL DEFAULT 0");
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue