discourse/plugins
Martin Brennan 9174716737
DEV: Remove Discourse.redis.delete_prefixed (#22103)
This method is a huge footgun in production, since it calls
the Redis KEYS command. From the Redis documentation at
https://redis.io/commands/keys/:

> Warning: consider KEYS as a command that should only be used in
production environments with extreme care. It may ruin performance when
it is executed against large databases. This command is intended for
debugging and special operations, such as changing your keyspace layout.
Don't use KEYS in your regular application code.

Since we were only using `delete_prefixed` in specs (now that we
removed the usage in production in 24ec06ff85)
we can remove this and instead rely on `use_redis_snapshotting` on the
particular tests that need this kind of clearing functionality.
2023-06-16 12:44:35 +10:00
..
chat DEV: Remove Discourse.redis.delete_prefixed (#22103) 2023-06-16 12:44:35 +10:00
discourse-details Update translations (#21583) 2023-05-16 19:40:01 +02:00
discourse-lazy-videos DEV: Fix random typos (#21638) 2023-05-18 15:34:46 +02:00
discourse-local-dates DEV: Remove superfluous js: true metadata (#21960) 2023-06-07 09:26:58 +08:00
discourse-narrative-bot Update translations (#22081) 2023-06-13 15:18:44 +02:00
discourse-presence Update translations (#20370) 2023-02-20 11:01:01 +01:00
poll FIX: De-duplicate poll vote on user merge (#22107) 2023-06-15 11:18:51 +08:00
styleguide DEV: implements styleguide for chat header icon (#22033) 2023-06-09 18:40:34 +02:00