|
|
|
|
|
by umaar
1169 days ago
|
|
I see my server has restarted a few times! I imagine it's folks here since I haven't shared Chat Bling elsewhere yet. Sorry to anyone who started generating images, but haven't received a response. The 'jobs' for images generations are stored entirely within memory, so a server restart will lose all of that. Going forward, I'll explore storing image jobs in redis or something, which will be more resilient to server crashes. As for conversation history, I'll continue to keep that in memory for now (messages are evicted after a short time period, or if messages consume too many OpenAI tokens) - even that's lost during a server restart/crash. Feels like quite a big decision to store sensitive chat history in a persistent database, from a privacy standpoint. |
|
Of course, it maybe also adds more pressure to keep the server more secure without private conversations being accessible after a reboot...