File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -40,6 +40,16 @@ services:
4040 OPENFGA_DATASTORE_URI : " root:1234@tcp(mysql:3306)/openfga?parseTime=true"
4141 OPENFGA_LOG_FORMAT : json
4242 OPENFGA_PLAYGROUND_ENABLED : " true"
43+ OPENFGA_CHECK_QUERY_CACHE_ENABLED : " true"
44+ OPENFGA_CHECK_QUERY_CACHE_TTL : 30s
45+ OPENFGA_CHECK_ITERATOR_CACHE_ENABLED : " true"
46+ OPENFGA_CHECK_ITERATOR_CACHE_TTL : 30s
47+ OPENFGA_CHECK_ITERATOR_CACHE_MAX_RESULTS : 10000
48+ OPENFGA_CACHE_CONTROLLER_ENABLED : " true"
49+ OPENFGA_CACHE_CONTROLLER_TTL : 10s
50+ OPENFGA_DATASTORE_MAX_OPEN_CONNS : 80
51+ OPENFGA_DATASTORE_MAX_IDLE_CONNS : 40
52+
4353 ports :
4454 - " 8080:8080"
4555 - " 8081:8081"
Original file line number Diff line number Diff line change @@ -5,6 +5,7 @@ default-character-set=utf8mb4
55default-character-set =utf8mb4
66
77[mysqld]
8+ max_connections =1000
89init_connect =' SET collation_connection = utf8mb4_unicode_ci, NAMES utf8mb4'
910character-set-server =utf8mb4
1011collation-server =utf8mb4_unicode_ci
You can’t perform that action at this time.
0 commit comments