MarseyWorld/files/helpers
Snakes 683d562058
Fix pruning of {SITE}_loggedin/out dicts.
For the past week, we noticed a gradual increase in CPU usage and
request times. Use of a sampling profiler revealed the time waas spent
in serializing/deserializing data stored in Redis. In particular, the
user counter dicts were filtered for calculation of the loggedin/out
counters, but the filtered versions were never stored.

To make concurrency safe, we still filter on every request, but at
least the resting data will eventually be appropriately filtered,
and this data is non-critical regardless.
2022-10-14 17:41:26 -04:00
..
actions.py use comment length for snappy, not post 2022-10-14 06:19:47 -07:00
alerts.py remove a _FOR_ 2022-10-06 00:38:33 -07:00
assetcache.py Rebuild assetcache on inotify events. 2022-09-27 02:07:32 -04:00
awards.py remove early life badge if status expired 2022-09-30 16:20:53 -07:00
casino.py Add gambling wager badge logic. 2022-09-29 00:26:50 -04:00
cloudflare.py use constant instead of literal 5 2022-10-13 00:58:33 -07:00
const.py discord ids as constants 2022-10-14 11:46:39 -07:00
cron.py PCM: disable gambling; extend FEATURES['GAMBLING']. 2022-10-07 20:31:46 -04:00
discord.py discord ids as constants 2022-10-14 11:46:39 -07:00
get.py update get.py redux 2022-10-12 08:40:43 -07:00
jinja2.py remove unnecessary shit in wrappers 2022-10-11 15:19:55 +02:00
lazy.py certified good commit 2022-05-25 19:01:29 +02:00
lottery.py use charge_account everywhere 2022-10-12 18:33:00 +02:00
marsify.py Add trailing final newlines to source files. 2022-09-29 01:43:29 -04:00
media.py create cloudflare helper 2022-10-13 00:55:15 -07:00
offsitementions.py fix 500 error 2022-10-14 19:15:29 +02:00
owoify.py Fix owoify award affecting links, emoji, markup. 2022-08-27 00:48:44 -04:00
regex.py Re-enable showmore_regex for Snappy (#389) 2022-10-06 02:17:28 -04:00
roulette.py cron: commit roulette txn early for long tasks. 2022-09-29 14:09:26 -04:00
sanitize.py pings bypass permission 2022-10-12 02:36:29 -07:00
security.py tweak env again 2022-10-10 11:06:27 +02:00
slots.py Add gambling wager badge logic. 2022-09-29 00:26:50 -04:00
sorting_and_time.py Revert "minor change in sorting_and_time" 2022-10-13 18:21:26 +02:00
stats.py remove unnecessary execution of function 2022-09-22 07:26:48 +02:00
treasure.py Add trailing final newlines to source files. 2022-09-29 01:43:29 -04:00
twentyone.py Add gambling wager badge logic. 2022-09-29 00:26:50 -04:00
wrappers.py Fix pruning of {SITE}_loggedin/out dicts. 2022-10-14 17:41:26 -04:00