Skip to content
This repository has been archived by the owner on Sep 21, 2021. It is now read-only.

Commit

Permalink
increase max subject id
Browse files Browse the repository at this point in the history
  • Loading branch information
trim21 committed Jul 12, 2020
1 parent d5660d6 commit 61a1638
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion app/cron/gen_full_url.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@ import (

func genFullURL() {
var urls []interface{}
for i := 1; i < 310000; i++ {
for i := 1; i < 320000; i++ {
urls = append(urls, fmt.Sprintf("https://mirror.bgm.rin.cat/subject/%d", i))
if i%500 == 0 {
db.Redis.LPush(config.RedisSpiderURLKey, urls...)
Expand Down

0 comments on commit 61a1638

Please sign in to comment.