Configure client side query timeout (#610)

* Configure client side query timeout
* Update test command on windows
* Make query timeout cli opt an uint
* Fix windows test command
* Check for updates when rendering connection page
* Fix typo
This commit is contained in:
Dan Sosedoff
2022-12-08 15:07:40 -06:00
committed by GitHub
parent 0008842a68
commit 7557ac854e
3 changed files with 42 additions and 30 deletions

View File

@@ -507,7 +507,13 @@ func GetBookmarks(c *gin.Context) {
// GetInfo renders the pgweb system information
func GetInfo(c *gin.Context) {
successResponse(c, command.Info)
successResponse(c, gin.H{
"app": command.Info,
"features": gin.H{
"session_lock": command.Opts.LockSession,
"query_timeout": command.Opts.QueryTimeout,
},
})
}
// DataExport performs database table export