mirror of https://github.com/velour/catbase.git
Chris Sexton
66fa219f78
This is a hack. I am just pushing the processing off into a goroutine so that we can return as quickly as possible from a non-event as far as the bot's interaction with users is concerned. This is potentially harmful if we have too many goroutines blocked writing babblers (hopefully sqlite is configured to be thread-safe). But if we have a bunch of babblers writing off to disk, it's no worse than blocking for each one sequentially, I guess. |
||
---|---|---|
.. | ||
babbler.go | ||
babbler_test.go | ||
commands.go |