mirror of
https://github.com/friendica/friendica
synced 2025-04-29 21:44:23 +02:00
Refactor Cache/Lock to DICE
- Refactor Cache classes - Refactor Lock classes - Improved test speed (removed some seperate class annotations)
This commit is contained in:
parent
b95d4f41b9
commit
d56bd28a07
40 changed files with 766 additions and 621 deletions
|
@ -2,7 +2,6 @@
|
|||
|
||||
namespace Friendica\Test\src\Core\Lock;
|
||||
|
||||
|
||||
use Friendica\Core\Cache\ArrayCache;
|
||||
use Friendica\Core\Lock\CacheLockDriver;
|
||||
|
||||
|
@ -10,7 +9,7 @@ class ArrayCacheLockDriverTest extends LockTest
|
|||
{
|
||||
protected function getInstance()
|
||||
{
|
||||
return new CacheLockDriver(new ArrayCache());
|
||||
return new CacheLockDriver(new ArrayCache('localhost'));
|
||||
}
|
||||
|
||||
public function testLockTTL()
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue