Skip to content

Commit

Permalink
Merge pull request #8 from singer-io/decrease-chat-interval
Browse files Browse the repository at this point in the history
Decrease default chat search interval to 14 days
  • Loading branch information
KAllan357 authored Feb 26, 2018
2 parents 43f4c18 + 5845569 commit 6577496
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tap_zendesk_chat/streams.py
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ def _pull(self, ctx, chat_type, ts_field, *, full_sync):
start_time = ctx.update_start_date_bookmark(ts_bookmark_key)
next_url = ctx.bookmark(url_offset_key)
max_bookmark = start_time
interval_days = ctx.config.get("chat_search_interval_days", 60)
interval_days = ctx.config.get("chat_search_interval_days", 14)
intervals = break_into_intervals(interval_days, start_time, ctx.now)
for start_dt, end_dt in intervals:
while True:
Expand Down

0 comments on commit 6577496

Please sign in to comment.