Skip to content

Commit

Permalink
change default sync to 1 day
Browse files Browse the repository at this point in the history
  • Loading branch information
SeanSCao committed Feb 25, 2024
1 parent 8fee337 commit 3812183
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion scripts/sesar_things.py
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@ def main(ctx, sesar_db_url, isb_db_url, solr_url, verbosity):
"-d",
"--modification_date",
type=click.DateTime(formats=["%Y-%m-%d"]),
default=(datetime.datetime.now()-datetime.timedelta(days=7)).date().strftime("%Y-%m-%d"),
default=(datetime.datetime.now()-datetime.timedelta(days=1)).date().strftime("%Y-%m-%d"), # default to last day for daily script
help="""The modified date to use when considering delta updates. Records with a last modified before this date
will be ignored"""
)
Expand Down

0 comments on commit 3812183

Please sign in to comment.