Skip to content

Commit 80428c3

Browse files
committed
docs: add GITBASE_CACHESIZE_MB to the documentation
Signed-off-by: Manuel Carmona <[email protected]>
1 parent 4b3b044 commit 80428c3

File tree

1 file changed

+5
-2
lines changed

1 file changed

+5
-2
lines changed

docs/using-gitbase/configuration.md

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -11,8 +11,9 @@
1111
| `GITBASE_INDEX_DIR` | directory to save indexes, default `/var/lib/gitbase/index` |
1212
| `GITBASE_TRACE` | enable jaeger tracing, default disabled |
1313
| `GITBASE_READONLY` | allow read queries only, disabling creating and deleting indexes, default disabled |
14-
| `GITBASE_LANGUAGE_CACHE_SIZE` | size of the cache for the `language` UDF. The size is the maximum number of elements kept in the cache, 10000 by default |
15-
| `GITBASE_UAST_CACHE_SIZE` | size of the cache for the `uast` and `uast_mode` UDFs. The size is the maximum number of elements kept in the cache, 10000 by default |
14+
| `GITBASE_LANGUAGE_CACHE_SIZE`| size of the cache for the `language` UDF. The size is the maximum number of elements kept in the cache, 10000 by default |
15+
| `GITBASE_UAST_CACHE_SIZE` | size of the cache for the `uast` and `uast_mode` UDFs. The size is the maximum number of elements kept in the cache, 10000 by default |
16+
| `GITBASE_CACHESIZE_MB` | size of the cache for git objects specified as MB |
1617

1718
### Jaeger tracing variables
1819

@@ -73,6 +74,8 @@ Help Options:
7374
-u, --user= User name used for connection (default: root)
7475
-P, --password= Password used for connection
7576
-i, --index= Directory where the gitbase indexes information will be persisted. (default: /var/lib/gitbase/index) [$GITBASE_INDEX_DIR]
77+
--cache= Object cache size in megabytes (default: 512) [$GITBASE_CACHESIZE_MB]
78+
--parallelism= Maximum number of parallel threads per table. By default, it's the number of CPU cores. 0 means default, 1 means disabled.
7679
--no-squash Disables the table squashing.
7780
--trace Enables jaeger tracing [$GITBASE_TRACE]
7881
-r, --readonly Only allow read queries. This disables creating and deleting indexes as well. [$GITBASE_READONLY]

0 commit comments

Comments
 (0)