Guo Xiang Tan
|
cdd550e947
|
Use a different Redis key when PG failover sets site to readonly mode.
|
2017-01-11 16:38:49 +08:00 |
Guo Xiang Tan
|
e8a3043129
|
Spawn a single thread that checks for PostgreSQL fallback.
|
2016-11-17 13:52:08 +08:00 |
Guo Xiang Tan
|
fcc86d3a9d
|
FIX: `PostgreSQLFallbackHandler` was bouncing in and out of readonly.
|
2016-03-08 10:02:38 +08:00 |
Guo Xiang Tan
|
b41aa27a84
|
FEATURE: Support multisite in PostgreSQL fallback adapter.
|
2016-03-02 21:37:37 +08:00 |
Guo Xiang Tan
|
74dc838f5f
|
FIX: Add a lock to ensure only a single thread is running each time.
|
2016-02-05 10:47:47 +08:00 |
Guo Xiang Tan
|
c532d7d1ae
|
Internally `AR::Base.establish_connection` removes the current connection.
|
2016-02-05 08:51:50 +08:00 |
Guo Xiang Tan
|
a08496bb1a
|
Remove Concurrent::TimerTask which spawns a long lasting Thread.
|
2016-02-05 08:51:50 +08:00 |
Guo Xiang Tan
|
0058d09e35
|
Second attempt which removes any kind proxying.
|
2016-02-05 08:51:10 +08:00 |
Guo Xiang Tan
|
46589a1a0c
|
FEATURE: AR adapter to failover to a replica DB server.
|
2016-02-05 08:51:10 +08:00 |