Closed adayoung closed 7 years ago
... not to mention this is probably unsafe to use in a separate go routine and may lead to memory leaks, I think? :thinking: But I may be wrong, I don't really know Go all that well :grin:
We have.. utils/storage which exposes a PostgreSQL DB connection.
PostMessage() should dump messages in a Redis powered queue which can then be consumed by the dispatcher. Redis provides a cheap method for holding ire.Gamefeed.LastID as well. This should address #1 and #4.