aboutsummaryrefslogtreecommitdiff
path: root/src/framework/standard/create_command.rs
diff options
context:
space:
mode:
authorZeyla Hellyer <[email protected]>2017-11-13 13:28:08 -0800
committerZeyla Hellyer <[email protected]>2017-11-13 13:29:03 -0800
commitf2c21ef5b15ef1f345cdc30f4b793e55905f15f4 (patch)
tree33a0d5e68976a31d750cefaf78df8b2577b63578 /src/framework/standard/create_command.rs
parentFix strange behaviour when the prefix has spaces (#215) (diff)
downloadserenity-f2c21ef5b15ef1f345cdc30f4b793e55905f15f4.tar.xz
serenity-f2c21ef5b15ef1f345cdc30f4b793e55905f15f4.zip
Use the threadpool for framework command execution
Instead of executing framework commands in the shard runner thread (potentially blocking the shard runner from reading new messages over the websocket and heartbeating), dispatch framework commands to the shard runner's threadpool.
Diffstat (limited to 'src/framework/standard/create_command.rs')
0 files changed, 0 insertions, 0 deletions