fix sa hook
This commit is contained in:
parent
210a2109a7
commit
d2552c5cd1
@ -851,10 +851,10 @@ func (self *NNTPDaemon) poll(worker int) {
|
|||||||
if hdr == nil {
|
if hdr == nil {
|
||||||
log.Println("worker", worker, "failed to load", msgid)
|
log.Println("worker", worker, "failed to load", msgid)
|
||||||
} else {
|
} else {
|
||||||
log.Println("worker", worker, "got", msgid)
|
|
||||||
rollover := 100
|
rollover := 100
|
||||||
group := hdr.Get("Newsgroups", "")
|
group := hdr.Get("Newsgroups", "")
|
||||||
ref := hdr.Get("References", "")
|
ref := hdr.Get("References", "")
|
||||||
|
log.Println("worker", worker, "got", msgid, "in", group, "references", ref != "")
|
||||||
tpp, err := self.database.GetThreadsPerPage(group)
|
tpp, err := self.database.GetThreadsPerPage(group)
|
||||||
ppb, err := self.database.GetPagesPerBoard(group)
|
ppb, err := self.database.GetPagesPerBoard(group)
|
||||||
if err == nil {
|
if err == nil {
|
||||||
|
Reference in New Issue
Block a user