Joffrey JAFFEUX
5cb00d5528
DEV: s/\$redis/Discourse\.redis
...
With manual merge conflicts
2019-12-03 14:26:57 +01:00
Sam Saffron
30990006a9
DEV: enable frozen string literal on all files
...
This reduces chances of errors where consumers of strings mutate inputs
and reduces memory usage of the app.
Test suite passes now, but there may be some stuff left, so we will run
a few sites on a branch prior to merging
2019-05-13 09:31:32 +08:00
Guo Xiang Tan
667e68ec58
Prefer create
over create!
when not checking for response.
2018-09-19 18:22:54 +08:00
Robin Ward
f4672a9e05
Instead of a Distributed Mutex, use a Redis SETNX guard
2016-04-12 15:31:21 -04:00
Sam
eda6084d4b
FIX: don't allow concurrently queued once off jobs to do work
2016-04-12 23:08:10 +10:00
Robin Ward
9d8db11cf3
Move MigrateScheme
to new Onceoff thing
2016-04-07 15:31:32 -04:00
Robin Ward
3f7ced9236
Try running once off jobs outside of db:migrate
2016-04-07 15:07:24 -04:00
Robin Ward
078b3bc87e
Log once off jobs and enqueue on db:migrate
2016-04-07 14:32:31 -04:00