- Make validation a bit nicer:
- Add timeout to the DB validation - Make DB validation exception handling a bit nicer - Move the DB validation error message - Fix bug around RADOS config default for Is Secure - Allow hiding of the validation box
This commit is contained in:
parent
47fb10b79f
commit
bfd273d16f
6 changed files with 56 additions and 20 deletions
|
@ -71,7 +71,9 @@ db_random_func = CallableProxy()
|
|||
|
||||
|
||||
def validate_database_url(url):
|
||||
driver = _db_from_url(url, {})
|
||||
driver = _db_from_url(url, {
|
||||
'connect_timeout': 5
|
||||
})
|
||||
driver.connect()
|
||||
driver.close()
|
||||
|
||||
|
|
Reference in a new issue