Skip to content

Commit

Permalink
Remove log.
Browse files Browse the repository at this point in the history
  • Loading branch information
toots committed Oct 16, 2024
1 parent abbfca5 commit 9ed9408
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions src/core/sources/request_dynamic.ml
Original file line number Diff line number Diff line change
Expand Up @@ -92,9 +92,7 @@ class dynamic ~priority ~retry_delay ~available (f : Lang.value) prefetch
assert (self#current = None);
try
match self#get_next_file with
| `Retry ->
self#log#debug "Failed to prepare track: no file.";
false
| `Empty -> false
| `Request req
when Request.resolved req
&& Request.has_decoder ~ctype:self#content_type req ->
Expand Down Expand Up @@ -323,9 +321,7 @@ class dynamic ~priority ~retry_delay ~available (f : Lang.value) prefetch
(** Provide the unqueued [super] with resolved requests. *)
method private get_next_file =
match Queue.pop_opt retrieved with
| None ->
self#log#debug "Queue is empty!";
`Retry
| None -> `Empty
| Some r ->
self#log#info "Remaining %d requests" self#queue_size;
`Request r.request
Expand Down

0 comments on commit 9ed9408

Please sign in to comment.