Skip to content

Commit

Permalink
disable telemetry in client that job_service uses
Browse files Browse the repository at this point in the history
Signed-off-by: Jacob Klegar <[email protected]>
  • Loading branch information
jklegar committed Jan 28, 2021
1 parent 598d147 commit e94029a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions sdk/python/feast/job_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -218,7 +218,7 @@ def start_control_loop() -> None:
"which will ensure that stream ingestion jobs are successfully running."
)
try:
client = feast.Client()
client = feast.Client(telemetry="False")
while True:
ensure_stream_ingestion_jobs(client, all_projects=True)
time.sleep(1)
Expand Down Expand Up @@ -248,7 +248,7 @@ def start_job_service() -> None:
log_fmt = "%(asctime)s %(levelname)s %(message)s"
logging.basicConfig(level=logging.INFO, format=log_fmt)

client = feast.Client()
client = feast.Client(telemetry="False")

if client._config.getboolean(opt.JOB_SERVICE_ENABLE_CONTROL_LOOP):
# Start the control loop thread only if it's enabled from configs
Expand Down

0 comments on commit e94029a

Please sign in to comment.