aboutsummaryrefslogtreecommitdiffstats
path: root/tests/test_base.py
diff options
context:
space:
mode:
authorGravatar MarkKoz <[email protected]>2021-01-03 10:58:16 -0800
committerGravatar MarkKoz <[email protected]>2021-01-04 23:19:51 -0800
commit4dad590ef87a3e67e82b3a43a2ab113efa86abbe (patch)
tree0bce3f99da41a456e899a0619ba50269715584aa /tests/test_base.py
parentMerge pull request #1340 from python-discord/ks123/raw-fix (diff)
HelpChannels: use a more accurate lock for messages
Use the `lock_arg` decorator to keep a separate lock for each channel rather than a single lock used by all messages. Separate the core logic in `on_message` into a separate function to facilitate the use of `lock_arg` - not everything in `on_message` needs to be under the lock.
Diffstat (limited to 'tests/test_base.py')
0 files changed, 0 insertions, 0 deletions