Golang 中的 time.Sleep 报错。

metian 发布于 2013/06/07 09:35
阅读 2K+
收藏 0
Go
我做的是抓取任务,有些会报这个错。
goroutine 18410 [sleep]:
time.Sleep(0x10bd3f7cb200)
        /usr/local/go/src/pkg/runtime/ztime_linux_amd64.c:19 +0x2f
main.defaultSpider(0xc2000aca40, 0x47e5, 0x6b8070, 0x0, 0x4921, ...)
        /Users/jinke/golang/src/cds_spider/price/main/bitauto.go:21 +0xbc
main.func·008(0xc2000aca40, 0x47e5, 0x6b8070, 0x0, 0x4921, ...)
        /Users/jinke/golang/src/cds_spider/price/main/bitauto.go:261 +0xf3
created by cds_spider/price/frame.(*Frame).Start
        /Users/jinke/golang/src/cds_spider/price/frame/frame.go:116 +0x29c

goroutine 18411 [sleep]:
time.Sleep(0x10bd7b177c00)
        /usr/local/go/src/pkg/runtime/ztime_linux_amd64.c:19 +0x2f
main.defaultSpider(0xc2000aca40, 0x47e6, 0x6b8070, 0x0, 0x4922, ...)
        /Users/jinke/golang/src/cds_spider/price/main/bitauto.go:21 +0xbc
main.func·008(0xc2000aca40, 0x47e6, 0x6b8070, 0x0, 0x4922, ...)
        /Users/jinke/golang/src/cds_spider/price/main/bitauto.go:261 +0xf3
created by cds_spider/price/frame.(*Frame).Start
        /Users/jinke/golang/src/cds_spider/price/frame/frame.go:116 +0x29c
加载中
返回顶部
顶部