use https://www.logilab.org/115266 to add a configuration option to CW, in order to have it automatically configure sessions timeouts depending on the user connected.
It could look like this in the configuration file:
anynomous-sql-session-timeout=30s authenticated-sql-session-timeout=1min admin-sql-session-timeout=0
|appeared in||<not specified>|
|closed by||<not specified>|
|patch||Add a db-statement-timeout option for postgresql sources [reviewed]|