diff options
author | Bryan Newbold <bnewbold@archive.org> | 2020-10-16 18:20:37 -0700 |
---|---|---|
committer | Bryan Newbold <bnewbold@archive.org> | 2020-10-16 18:20:37 -0700 |
commit | 49a68238c9c7ee1ef0e142b91b0881fda058d39b (patch) | |
tree | 265e1df868ec961dd4b31e11ce16dd9bcad978e8 | |
parent | 18d497eb7a83f935fa941c2e4dd86545104a9412 (diff) | |
download | fatcat-scholar-49a68238c9c7ee1ef0e142b91b0881fda058d39b.tar.gz fatcat-scholar-49a68238c9c7ee1ef0e142b91b0881fda058d39b.zip |
settings: kafka config and worker defaults
-rw-r--r-- | settings.toml | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/settings.toml b/settings.toml index a1c39bc..093acc4 100644 --- a/settings.toml +++ b/settings.toml @@ -2,27 +2,36 @@ [default] SCHOLAR_ENV = "default" SCHOLAR_DOMAIN = "fatcat.wiki" +SCHOLAR_ISSUEDB_PATH = "data/issue_db.sqlite" I18N_LANG_DEFAULT = "en" ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki" ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext" THUMBNAIL_URL_PREFIX = "https://blobs.fatcat.wiki/thumbnail/pdf/" SANDCRAWLER_DB_API = "http://aitio.us.archive.org:3030" SANDCRAWLER_S3_API = "wbgrp-svc169.us.archive.org:8333" +KAFKA_BROKERS = [] +FATCAT_API_HOST = "https://api.fatcat.wiki/v0" +INDEX_WORKER_BATCH_SIZE = 50 [test] SCHOLAR_ENV = "test" +FATCAT_API_HOST = "http://localhost:9411/v0" [dev] SCHOLAR_ENV = "dev" ELASTICSEARCH_FULLTEXT_INDEX = "dev_scholar_fulltext" ELASTICSEARCH_BACKEND = "http://localhost:9200" +KAFKA_BROKERS = ["localhost"] +FATCAT_API_HOST = "http://localhost:9411/v0" [qa] SCHOLAR_ENV = "qa" ELASTICSEARCH_FULLTEXT_INDEX = "qa_scholar_fulltext" ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki" +KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"] [prod] SCHOLAR_ENV = "prod" ELASTICSEARCH_FULLTEXT_INDEX = "scholar_fulltext" ELASTICSEARCH_BACKEND = "https://search.fatcat.wiki" +KAFKA_BROKERS = ["wbgrp-svc263.us.archive.org"] |