Brian Gough
|
c21cc013f3
use null instead of err in callbacks on success
|
9 жил өмнө |
Brian Gough
|
bb0dc4b4d5
release the lock if it took too long to acquire it
|
9 жил өмнө |
Brian Gough
|
54c0fc1180
put a 5 second timeout in getting redis lock
|
9 жил өмнө |
Brian Gough
|
673f4228ce
add metric for unlock errors
|
9 жил өмнө |
Brian Gough
|
a550078071
replace verbose logging by slow query log
|
9 жил өмнө |
Brian Gough
|
387ecac6cb
log for each get/try/release lock
|
9 жил өмнө |
Brian Gough
|
dff6e2c3da
bug fix in backoff
|
9 жил өмнө |
Brian Gough
|
c7d8fbbb8a
exponential backoff for lock up to maximum time
|
9 жил өмнө |
James Allen
|
4104ca4889
Add in separate redis config for the lock and fix a few web -> realtime
|
9 жил өмнө |
Brian Gough
|
5583764d05
fix callback prototype in getLock
|
9 жил өмнө |
Brian Gough
|
c11618b475
improve unlock error handling
|
9 жил өмнө |
James Allen
|
508a95c19b
Use the main redis instance for locks
|
10 жил өмнө |
James Allen
|
1db6f8f159
Pull out rclient into RedisBackend that supports sending requests to multiple rclients
|
10 жил өмнө |
James Allen
|
4ab4e27724
Include COUNT in lock and make RND per-process incase randomBytes blocks
|
10 жил өмнө |
James Allen
|
d15a22be26
Remove misleading log line about lock value
|
10 жил өмнө |
James Allen
|
945c728db2
Use signed locks so only the locking party can remove their lock
|
10 жил өмнө |
Henry Oswald
|
5ff8983528
implemeneted redis-sharelatex
|
12 жил өмнө |
Henry Oswald
|
9c85e9b848
moved back to not include sentinal while we upgrade to 0.10.x node
|
12 жил өмнө |
Henry Oswald
|
672dd3de1b
works with sentinal v1
|
12 жил өмнө |
James Allen
|
d1434f7646
Increase redis lock expiry time to 30 seconds
|
12 жил өмнө |
James Allen
|
414b669a2c
Point every redis connection to the new config
|
12 жил өмнө |
James Allen
|
e1a7d4f24a
Initial open sourcing
|
12 жил өмнө |