Skip to content

Commit

Permalink
hmm
Browse files Browse the repository at this point in the history
  • Loading branch information
BlindAndInsane committed Oct 15, 2024
1 parent 915213a commit 9187be5
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion catbox/worker.go
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ func Worker(ctx context.Context, db *sql.DB, idChan <-chan string, wg *sync.Wait
}

if exists {
G_Req_Per_Sec.Add(1)
G_Found_Per_Min.Add(1)
urll := fmt.Sprintf("%s%s%s", G_config.BaseURL, id, ext)
_, err := db.Exec("INSERT INTO valid_ids (id, url, ext) VALUES (?, ?, ?)", id, urll, ext)
if err != nil {
Expand Down

0 comments on commit 9187be5

Please sign in to comment.