Make DB.insert_schedule less noisy

This commit is contained in:
gg 2023-07-19 10:41:29 -07:00
parent 3f1ed0d269
commit 5a4b79868e
1 changed files with 2 additions and 2 deletions

View File

@ -32,11 +32,11 @@ function insert_schedule(db, row)
try
sql_insert = "INSERT INTO schedule (caster_id, segment_id, jst) VALUES (?, ?, ?)"
timestamp = Dates.format(row[:t], "Y-mm-ddTHH:MM:SSz")
@info "before insert" caster_id, segment.id[1] timestamp
#@info "before insert" caster_id, segment.id[1] timestamp
ri = DBInterface.execute(db, sql_insert, [caster_id, segment.id[1], timestamp])
return ri
catch e
@error e
@debug e
return false
end
end