<commit_before>[circus]
check_delay = 5
endpoint = {{endpoint}}
pubsub_endpoint = {{pubsub_endpoint}} 
umask = 002
logoutput = {{ parts.buildout.directory }}/var/log/circus.log

{% if parts.project.with_couchdb %}
[watcher:db]
cmd = couchdb
args = -a {{ parts.buildout.directory }}/etc/couchdb.ini
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/couchdb.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/couchdb.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[env:db]
HOME = {{ parts.buildout.directory }}/var
{% endif %}

{% if parts.project.with_redis %}
[watcher:redis]
cmd = redis-server
args = {{ parts.buildout.directory }}/etc/redis.conf
copy_env = True
copy_path = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/redis.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/redis.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[env:redis]
PATH = /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:$PATH
{% endif %}

{% if parts.project.with_sentinel %}
[watcher:sentinel]
cmd = redis-sentinel
args = {{ parts.buildout.directory }}/etc/sentinel.conf
copy_env = True
copy_path = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/sentinel.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/sentinel.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[env:redis]
PATH = /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:$PATH
{% endif %}

{% if parts.project.with_auctions_server %}
[socket:auctions-server]
host = 0.0.0.0
port = {{ auctions_server_port }}

[watcher:auctions-server]
cmd = {{ parts.buildout.directory }}/bin/chaussette --backend=gevent --fd $(circus.sockets.auctions-server)  paste:{{ parts.buildout.directory }}/etc/auctions.ini
use_sockets = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/auctions.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/auctions.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[plugin:webapp_process_counter]
use = openprocurement.circus.plugins.catcher.Catcher
watcher = auctions-server
{% endif %}

{% if parts.project.with_oauth_server %}
[socket:oauth-server]
host = 0.0.0.0
port = {{ auth_server_port }}

[watcher:oauth-server]
cmd = {{ parts.buildout.directory }}/bin/chaussette --backend=gevent --fd $(circus.sockets.oauth-server)  paste:{{ parts.buildout.directory }}/etc/oauth_provider.ini
use_sockets = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/oauth.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/oauth.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[plugin:webapp_process_counter]
use = openprocurement.circus.plugins.catcher.Catcher
watcher = oauth-server
{% endif %}


{% if parts.project.with_data_bridge %}<commit_msg>Added multiplier<commit_after>[circus]
check_delay = 5
endpoint = {{endpoint}}
pubsub_endpoint = {{pubsub_endpoint}} 
umask = 002
logoutput = {{ parts.buildout.directory }}/var/log/circus.log

{% if parts.project.with_couchdb %}
[watcher:db]
cmd = couchdb
args = -a {{ parts.buildout.directory }}/etc/couchdb.ini
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/couchdb.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/couchdb.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[env:db]
HOME = {{ parts.buildout.directory }}/var
{% endif %}

{% if parts.project.with_redis %}
[watcher:redis]
cmd = redis-server
args = {{ parts.buildout.directory }}/etc/redis.conf
copy_env = True
copy_path = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/redis.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/redis.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[env:redis]
PATH = /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:$PATH
{% endif %}

{% if parts.project.with_sentinel %}
[watcher:sentinel]
cmd = redis-sentinel
args = {{ parts.buildout.directory }}/etc/sentinel.conf
copy_env = True
copy_path = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/sentinel.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/sentinel.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[env:redis]
PATH = /usr/local/bin:/usr/bin:/usr/local/sbin:/usr/sbin:$PATH
{% endif %}

{% if parts.project.with_auctions_server %}
[socket:auctions-server]
host = 0.0.0.0
port = {{ auctions_server_port }}

[watcher:auctions-server]
cmd = {{ parts.buildout.directory }}/bin/chaussette --backend=gevent --fd $(circus.sockets.auctions-server)  paste:{{ parts.buildout.directory }}/etc/auctions.ini
use_sockets = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/auctions.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/auctions.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[plugin:webapp_process_counter]
use = openprocurement.circus.plugins.catcher.Catcher
watcher = auctions-server
multiplier = 2
{% endif %}

{% if parts.project.with_oauth_server %}
[socket:oauth-server]
host = 0.0.0.0
port = {{ auth_server_port }}

[watcher:oauth-server]
cmd = {{ parts.buildout.directory }}/bin/chaussette --backend=gevent --fd $(circus.sockets.oauth-server)  paste:{{ parts.buildout.directory }}/etc/oauth_provider.ini
use_sockets = True
stdout_stream.class = FileStream
stdout_stream.filename = {{ parts.buildout.directory }}/var/log/oauth.stdout.log
stdout_stream.max_bytes = 134217728
stdout_stream.backup_count = 1
stderr_stream.class = FileStream
stderr_stream.filename = {{ parts.buildout.directory }}/var/log/oauth.stderr.log
stderr_stream.max_bytes = 134217728
stderr_stream.backup_count = 1

[plugin:webapp_process_counter]
use = openprocurement.circus.plugins.catcher.Catcher
watcher = oauth-server
multiplier = 2
{% endif %}


{% if parts.project.with_data_bridge %}
{'fraction_non_alphanumeric': 0.13406442769019877, 'fraction_numerical': 0.03098012337217272, 'mean_word_length': 5.584837545126354, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 4, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '2336183', 'n_tokens_mistral': 2747, 'n_tokens_neox': 2505, 'n_words': 405}