Update gorp to support query timeouts on postgres (#6730)

* Update gorp to support query timeouts on postgres

* Update help text to remove postgres exception

* Fix glide.lock
Этот коммит содержится в:
Joram Wilander
2017-06-28 10:34:00 -04:00
коммит произвёл Christopher Speller
родитель 2dea567dcf
Коммит 005dd0754b
7 изменённых файлов: 19 добавлений и 38 удалений

Просмотреть файл

@@ -142,7 +142,7 @@ export default class DatabaseSettings extends AdminSettings {
helpText={
<FormattedMessage
id='admin.sql.queryTimeoutDescription'
defaultMessage='The number of seconds to wait for a response from the database after opening a connection and sending the query. Errors that you see in the UI or in the logs as a result of a query timeout can vary depending on the type of query. This setting has no effect on PostgreSQL databases.'
defaultMessage='The number of seconds to wait for a response from the database after opening a connection and sending the query. Errors that you see in the UI or in the logs as a result of a query timeout can vary depending on the type of query.'
/>
}
value={this.state.queryTimeout}

Просмотреть файл

@@ -832,7 +832,7 @@
"admin.sql.maxOpenTitle": "Maximum Open Connections:",
"admin.sql.noteDescription": "Changing properties in this section will require a server restart before taking effect.",
"admin.sql.noteTitle": "Note:",
"admin.sql.queryTimeoutDescription": "The number of seconds to wait for a response from the database after opening a connection and sending the query. Errors that you see in the UI or in the logs as a result of a query timeout can vary depending on the type of query. This setting has no effect on PostgreSQL databases.",
"admin.sql.queryTimeoutDescription": "The number of seconds to wait for a response from the database after opening a connection and sending the query. Errors that you see in the UI or in the logs as a result of a query timeout can vary depending on the type of query.",
"admin.sql.queryTimeoutExample": "E.g.: \"30\"",
"admin.sql.queryTimeoutTitle": "Query Timeout:",
"admin.sql.replicas": "Data Source Replicas:",