summaryrefslogtreecommitdiff |
diff options
Diffstat (limited to 'src/io/timed_caches_manager.erl')
-rw-r--r-- | src/io/timed_caches_manager.erl | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/src/io/timed_caches_manager.erl b/src/io/timed_caches_manager.erl index aad7c37..21f2b6b 100644 --- a/src/io/timed_caches_manager.erl +++ b/src/io/timed_caches_manager.erl @@ -45,7 +45,7 @@ add_cache (DB, none) -> set, public, named_table, - {keypos, 2}, + {keypos, 1}, {read_concurrency, true}, {heir, none} ] @@ -58,7 +58,7 @@ add_cache (DB, Heir) -> set, public, named_table, - {keypos, 2}, + {keypos, 1}, {read_concurrency, true}, {heir, Heir, DB} ] @@ -139,7 +139,5 @@ add_cache (CacheList, DB, Heir) -> [DB|CacheList] end. -get_timeout(battlemap_db) -> - 60000; get_timeout(_) -> - 60000. + 300000. % 5min. |