new season: condor xiv

condor-scripts
Mike Lang 2 years ago
parent 0b0c99dd4d
commit 8f81bb62e7

@ -30,7 +30,7 @@ INFO_QUERY = """
def main( def main(
output_dir, output_dir,
host='condor.live', user='necrobot-read', password='necrobot-read', database='season_14', host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv',
base_dir='/srv/wubloader', start_range='0,10', non_interactive=False, restrict_league=None, base_dir='/srv/wubloader', start_range='0,10', non_interactive=False, restrict_league=None,
only_match_id=0, best_effort_no_segments=False, no_start_detect=False, only_match_id=0, best_effort_no_segments=False, no_start_detect=False,
): ):

@ -80,7 +80,7 @@ def add_range(base, range):
@argh.arg('--time-offset', type=float) @argh.arg('--time-offset', type=float)
def main(match_id, race_number, output_path, def main(match_id, race_number, output_path,
host='condor.live', user='necrobot-read', password='necrobot-read', database='season_14', host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv',
base_dir='/srv/wubloader', base_dir='/srv/wubloader',
start_range="0,10", non_interactive=False, racer=0, start_range="0,10", non_interactive=False, racer=0,
time_offset=None, time_offset=None,

@ -93,7 +93,7 @@
dbname: "wubloader", dbname: "wubloader",
}, },
condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/season_14", condor_db:: "mysql://necrobot-read:necrobot-read@condor.live/condorxiv",
// Other database arguments // Other database arguments
db_super_user:: "postgres", // only accessible from localhost db_super_user:: "postgres", // only accessible from localhost

@ -40,7 +40,7 @@ def ts(dt):
return dt.strftime("%FT%T") return dt.strftime("%FT%T")
def main(find1, find2, host='condor.live', user='necrobot-read', password='necrobot-read', database='season_14'): def main(find1, find2, host='condor.live', user='necrobot-read', password='necrobot-read', database='condorxiv'):
logging.basicConfig(level=logging.INFO) logging.basicConfig(level=logging.INFO)
if password is None: if password is None:

Loading…
Cancel
Save