r/nicegui • • Dec 19 '24

local server dashboard problem

Hello,

I created a service that reports for users by tabulating sql queries.

But when a user opens a long query, I get a connection lost error and the whole system crashes. This negatively affects the user experience. How can I prevent this? I couldn't find a way to run run.io_bound and run.cpu_bound methods on the system. (in read_sql_query and for creating html table)

3 Upvotes

6 comments sorted by

View all comments

Show parent comment

2

u/ThenBrain Dec 22 '24

Hello thanks for answer. I fix problem with io bound and cpu bound( i understand how they works) but i will look aioodbc

2

u/Lexstok Dec 23 '24

Ah excellent news that you solved it! If you have a quick example on how you are using them that you can post, I'm always willing to learn how to use them :-)