-
Notifications
You must be signed in to change notification settings - Fork 0
/
config.toml
61 lines (44 loc) · 1.87 KB
/
config.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
# Controls deployment options
[deployment]
host = "0.0.0.0" # Set to 127.0.0.1 if you use a reverse proxy, or access it locally
port = 8000
# Amount of worker Priviblur instances to spawn. Increases speed significantly.
# workers = 1
# # Controls redis cache options
# # Ignore to disable the cache
# #
# # To enable caching, Redis is required, you then have to uncomment "url" and set it accordingly. Every other options in this section will use their default value (indicated next to them) if they are kept commented out.
# [cache]
# url =
# # For docker use the following:
# url = "redis://priviblur-redis:6379"
# # Number of seconds to cache poll results from active polls
# cache_active_poll_results_for = 3600
# # Number of seconds to cache poll results from expired polls
# cache_expired_poll_results_for = 86400
# # Number of seconds to cache feed (explore, search, etc) results for
# cache_feed_for = 3600
# # Number of seconds to cache blog feed (blog posts, blog search, blog tagged posts, etc) results for
# cache_blog_feed_for = 3600
# # Number of seconds to cache individual posts for
# cache_blog_post_for = 300
# # Controls behaviors pertaining to the way Priviblur requests Tumblr
# [priviblur_backend]
# # Timeout for requests to Tumblr's API
# main_response_timeout = 10
# # Timeout for fetching image responses from Tumblr
# image_response_timeout = 30
# Controls logging behavior
#
# Use Python's numerical logging levels
# https://docs.python.org/3/howto/logging.html#logging-levels
# [logging]
# # Sanic (Server)'s logging level'
# sanic_logging_level = 30
# # Priviblur's logging level
# priviblur_logging_level = 30
# # Priviblur extractor's logging level
# priviblur_extractor_logging_level = 20
# [misc]
# # Enable sanic's dev mode
# dev_mode = false