mirror of
https://github.com/planetmint/planetmint.git
synced 2025-11-25 15:05:49 +00:00
removed some changes
This commit is contained in:
parent
24716d41ba
commit
38884b487f
@ -33,15 +33,6 @@ _base_database_tarantool_local_db = { # TODO Rewrite this configs for tarantool
|
|||||||
"connect_now": True,
|
"connect_now": True,
|
||||||
"encoding": "utf-8"
|
"encoding": "utf-8"
|
||||||
}
|
}
|
||||||
|
|
||||||
_database_tarantool = {
|
|
||||||
'backend': 'tarantool_db',
|
|
||||||
'connection_timeout': 5000,
|
|
||||||
'max_tries': 3,
|
|
||||||
"reconnect_delay": 0.5
|
|
||||||
}
|
|
||||||
_database_tarantool.update(_base_database_tarantool_local_db)
|
|
||||||
|
|
||||||
init_config = {
|
init_config = {
|
||||||
"init_file": "init_db.txt",
|
"init_file": "init_db.txt",
|
||||||
"relative_path": "backend/tarantool/"
|
"relative_path": "backend/tarantool/"
|
||||||
@ -51,15 +42,24 @@ drop_config = {
|
|||||||
"drop_file": "drop_db.txt",
|
"drop_file": "drop_db.txt",
|
||||||
"relative_path": "backend/tarantool/"
|
"relative_path": "backend/tarantool/"
|
||||||
}
|
}
|
||||||
_database_map = {
|
_database_tarantool = {
|
||||||
'tarantool_db': _database_tarantool,
|
'backend': 'tarantool_db',
|
||||||
|
'connection_timeout': 5000,
|
||||||
|
'max_tries': 3,
|
||||||
|
"reconnect_delay": 0.5,
|
||||||
"ctl_config": {
|
"ctl_config": {
|
||||||
"login": "admin",
|
"login": "admin",
|
||||||
"host": "admin:pass@127.0.0.1:3301",
|
"host": "admin:pass@127.0.0.1:3301",
|
||||||
"service": "tarantoolctl connect",
|
"service": "tarantoolctl connect",
|
||||||
"init_config": init_config,
|
"init_config": init_config,
|
||||||
"drop_config": drop_config
|
"drop_config": drop_config
|
||||||
},
|
}
|
||||||
|
}
|
||||||
|
_database_tarantool.update(_base_database_tarantool_local_db)
|
||||||
|
|
||||||
|
|
||||||
|
_database_map = {
|
||||||
|
'tarantool_db': _database_tarantool
|
||||||
}
|
}
|
||||||
config = {
|
config = {
|
||||||
'server': {
|
'server': {
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user