Commit 307c8969 authored by lixiaofang's avatar lixiaofang

最新gaia代码

parents dc127c0c 7820b639
This diff is collapsed.
...@@ -14,16 +14,14 @@ from gm_dbmw_api.descriptor.source import GroupedSource, MySQLTableScanSource ...@@ -14,16 +14,14 @@ from gm_dbmw_api.descriptor.source import GroupedSource, MySQLTableScanSource
from gm_dbmw_api.descriptor.sink import CeleryV1Sink from gm_dbmw_api.descriptor.sink import CeleryV1Sink
from gm_dbmw_api.descriptor.source import MySQLTableSource from gm_dbmw_api.descriptor.source import MySQLTableSource
DB = settings.DATABASES['default']['NAME'] DB = settings.DATABASES['default']['NAME']
sink_update_with_tag = CeleryV1Sink( sink_update_with_tag = CeleryV1Sink(
task='api.tasks.special_service_dbmw.update_with_tag', task='api.tasks.special_service_dbmw.update_with_tag',
key_list_param_name='ids', key_list_param_name='ids',
static_params_json='{}', static_params_json='{}',
broker_url=settings.BROKER_URL, broker_url=settings.BROKER_URL,
queue='', queue='gaia-dbmw',
unpack_input_tuple=True, unpack_input_tuple=True,
batch_size_limit=20, batch_size_limit=20,
flow_rate_limit=20.0, flow_rate_limit=20.0,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment