Skip to content

Commit

Permalink
bump nwcache v
Browse files Browse the repository at this point in the history
  • Loading branch information
dskvr committed Mar 19, 2024
1 parent 93a1c97 commit 7a2daf1
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion apps/nocapd/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@
"@nostrwatch/controlflow": "^0.1.0",
"@nostrwatch/logger": "^0.0.4",
"@nostrwatch/nocap": "^0.4.2",
"@nostrwatch/nwcache": "^0.1.0",
"@nostrwatch/nwcache": "^0.1.2",
"@nostrwatch/publisher": "^0.4.1",
"@nostrwatch/seed": "^0.0.2",
"@nostrwatch/utils": "^0.0.3",
Expand Down
2 changes: 1 addition & 1 deletion apps/nocapd/src/classes/Worker.js
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,7 @@ export class NWWorker {
const url = job.data.relay
if(typeof url !== 'string') {
delete this.jobs[job.id]
return this.log.debug(`drainSmart(): url must be string! ${url}: ${typeof url}`)
return this.log.warn(`drainSmart(): url must be string! ${url}: ${typeof url}`)
}
const online = (await this.rcache.relay.get.one(url))?.online === true
const expired = await this.isExpired(url, timestring(job.timestamp, "ms"))
Expand Down
2 changes: 1 addition & 1 deletion packages/nwcache/package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "@nostrwatch/nwcache",
"version": "0.1.1",
"version": "0.1.2",
"type": "module",
"main": "index.js",
"license": "MIT",
Expand Down

0 comments on commit 7a2daf1

Please sign in to comment.