Compare commits
5 Commits
0.13.3.1-s
...
0.7.2.3-py
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
e456ff9170 | ||
|
|
4d47b905e8 | ||
|
|
0e556ee9ac | ||
|
|
70f290cdcf | ||
|
|
2417441ef4 |
@@ -41,3 +41,14 @@ CREATE EXTENSION cdb_dataservices_client;
|
|||||||
```
|
```
|
||||||
|
|
||||||
The extension creation in the user's db requires **superuser** privileges.
|
The extension creation in the user's db requires **superuser** privileges.
|
||||||
|
|
||||||
|
## User database configuration
|
||||||
|
|
||||||
|
After installing the client extension in a database, you will need to set up your configuration to be able to connect with the server.
|
||||||
|
|
||||||
|
```
|
||||||
|
-- Point to the dataservices server DB (you can use a specific database for the server or your same user's):
|
||||||
|
SELECT CDB_Conf_SetConf('geocoder_server_config', '{ "connection_str": "host=localhost port=5432 dbname=<SERVER_DB_NAME> user=postgres"}');
|
||||||
|
|
||||||
|
SELECT CDB_Conf_SetConf('user_config', '{"is_organization": false, "entity_name": "<YOUR_USERNAME>"}');
|
||||||
|
```
|
||||||
|
|||||||
@@ -26,7 +26,7 @@ class QPSService:
|
|||||||
try:
|
try:
|
||||||
return fn(*args, **kwargs)
|
return fn(*args, **kwargs)
|
||||||
except Exception as e:
|
except Exception as e:
|
||||||
if hasattr(e, 'response') and (e.response.status_code == 429 or e.response.status_code == 504):
|
if hasattr(e, 'response') and (e.response.status_code == 429):
|
||||||
self.retry(start_time, attempt_number)
|
self.retry(start_time, attempt_number)
|
||||||
else:
|
else:
|
||||||
raise e
|
raise e
|
||||||
|
|||||||
Reference in New Issue
Block a user