mirror of https://github.com/zlatinb/muwire
fix table and column names
parent
b1f58b0948
commit
a4e2d28072
|
@ -58,8 +58,8 @@ class H2HostCache extends HostCache {
|
||||||
timestamp = SDF.format(timestamp)
|
timestamp = SDF.format(timestamp)
|
||||||
sql.execute("insert into HOST_ATTEMPTS values ('${d.toBase64()}', '$timestamp', '${status.name()}');")
|
sql.execute("insert into HOST_ATTEMPTS values ('${d.toBase64()}', '$timestamp', '${status.name()}');")
|
||||||
|
|
||||||
def count = sql.firstRow("select count(*) as COUNT from HOST_PROFILES where DESTINATION=${d.toBase64()}")
|
def count = sql.firstRow("select count(*) as COUNT from HOST_ATTEMPTS where DESTINATION=${d.toBase64()}")
|
||||||
if (count.count < settings.hostProfileHistory)
|
if (count.COUNT < settings.hostProfileHistory)
|
||||||
return
|
return
|
||||||
|
|
||||||
log.fine("recomputing Markov for ${d.toBase32()}")
|
log.fine("recomputing Markov for ${d.toBase32()}")
|
||||||
|
|
Loading…
Reference in New Issue