mirror of
https://github.com/PostHog/posthog.git
synced 2024-11-29 03:04:16 +01:00
95fec19aaf
* Add Celery queues env file with default queues Reasoning: We need to configure Celery workers in several places to consume from a specific set of queues. * Define some queues
30 lines
1.6 KiB
XML
30 lines
1.6 KiB
XML
<component name="ProjectRunConfigurationManager">
|
|
<configuration default="false" name="Celery" type="PythonConfigurationType" factoryName="Python">
|
|
<module name="posthog" />
|
|
<option name="ENV_FILES" value="$PROJECT_DIR$/bin/celery-queues.env" />
|
|
<option name="INTERPRETER_OPTIONS" value="" />
|
|
<option name="PARENT_ENVS" value="true" />
|
|
<envs>
|
|
<env name="PYTHONUNBUFFERED" value="1" />
|
|
<env name="DEBUG" value="1" />
|
|
<env name="CLICKHOUSE_SECURE" value="False" />
|
|
<env name="KAFKA_HOSTS" value="localhost" />
|
|
<env name="DATABASE_URL" value="postgres://posthog:posthog@localhost:5432/posthog" />
|
|
<env name="SKIP_SERVICE_VERSION_REQUIREMENTS" value="1" />
|
|
</envs>
|
|
<option name="SDK_HOME" value="$PROJECT_DIR$/env/bin/python" />
|
|
<option name="WORKING_DIRECTORY" value="$PROJECT_DIR$/env/bin" />
|
|
<option name="IS_MODULE_SDK" value="false" />
|
|
<option name="ADD_CONTENT_ROOTS" value="true" />
|
|
<option name="ADD_SOURCE_ROOTS" value="true" />
|
|
<EXTENSION ID="PythonCoverageRunConfigurationExtension" runner="coverage.py" />
|
|
<option name="SCRIPT_NAME" value="$PROJECT_DIR$/env/bin/celery" />
|
|
<option name="PARAMETERS" value="-A posthog worker -B --scheduler redbeat.RedBeatScheduler --without-heartbeat --without-gossip --without-mingle --loglevel=DEBUG" />
|
|
<option name="SHOW_COMMAND_LINE" value="false" />
|
|
<option name="EMULATE_TERMINAL" value="false" />
|
|
<option name="MODULE_MODE" value="false" />
|
|
<option name="REDIRECT_INPUT" value="false" />
|
|
<option name="INPUT_FILE" value="" />
|
|
<method v="2" />
|
|
</configuration>
|
|
</component> |