15 Commits

Author SHA1 Message Date
161526cd41 HTTPS everywhere (#19503) 2022-08-03 12:32:18 +03:00
d5a428e001 Fix some code smells (#18696) 2021-06-05 13:37:45 +03:00
eb956e9c6b primary/replica in a definitely non-breaking way (#18106) 2020-06-16 11:33:27 +03:00
472600ee3f Fix #18102: Use “primary”/“replica” terminology instead of “master”/“slave” 2020-06-14 00:12:10 +03:00
ed64d65886 release version 2.0.16 2019-01-31 00:54:16 +01:00
91c96ff452 Fixes #16839
- Increase frequency of lock tries for `yii\mutex\FileMutex::acquireLock()` when $timeout is provided (rob006)
- Add support for `$timeout` in  `yii\mutex\PgsqlMutex::acquire()`
2018-11-01 01:19:33 +03:00
e6f5c46cdc Fixes #15633: Deprecate some things going away/changing in 2.1
- Deprecated `yii\base\BaseObject::className()` in favor of native PHP syntax `::class`, which does not trigger autoloading
- Deprecated XCache and Zend data cache support as caching backends
- Deprecated `yii\BaseYii::powered()` method
- Added `yii\base\InvalidArgumentException` and deprecated `yii\base\InvalidParamException`
- Added `yii\BaseYii::debug()` and deprecated `yii\BaseYii::trace()`
2018-02-11 01:48:29 +03:00
f259eadf7a be clear about timeout in seconds in Mutex
fixes https://github.com/yiisoft/yii2/issues/15030
2017-10-27 09:46:11 +02:00
1f26db9fb7 Applied code style fixes 2017-07-21 15:42:06 +03:00
445019779f Fixes #14206: MySqlMutex, PgsqlMutex and OracleMutex now use useMaster() to ensure lock is aquired on the same DB server 2017-07-13 09:52:38 +03:00
924a3edf4b Remove excessive use statements 2017-02-15 20:14:53 +03:00
4aa935e69e Fixes #12055: Changed boolean to bool and integer to int in phpdoc 2016-11-07 02:51:39 +03:00
e05f55bd13 Update PgsqlMutex.php
fixed `@since` annotation.
2016-04-05 04:53:52 +02:00
db1a96d876 Added tests for #8920, used 16bit integers to avoid out of range error 2016-04-05 00:57:52 +03:00
84f37705bf Fixes #8920: Added yii\mutex\PgsqlMutex which implements mutex "lock" mechanism via PgSQL locks 2016-04-05 00:56:38 +03:00