mirror of
https://github.com/friendica/friendica
synced 2025-04-18 13:10:11 +00:00
19 lines
304 B
PHP
19 lines
304 B
PHP
<?php
|
|
|
|
namespace Friendica\Test\src\Core\Lock;
|
|
|
|
use Friendica\Core\Lock\SemaphoreLockDriver;
|
|
|
|
class SemaphoreLockDriverTest extends LockTest
|
|
{
|
|
protected function getInstance()
|
|
{
|
|
return new SemaphoreLockDriver();
|
|
}
|
|
|
|
function testLockTTL()
|
|
{
|
|
// Semaphore doesn't work with TTL
|
|
return true;
|
|
}
|
|
}
|