- 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:
Joseph Schorr 2015-01-08 15:27:49 -05:00
parent 47fb10b79f
commit bfd273d16f
6 changed files with 56 additions and 20 deletions

View file

@ -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()