Skip to content

Commit c2221f4

Browse files
authored
Merge pull request #140 from datapartyjs/pub_announce
add more flexibality to expiry time
2 parents ee41a25 + 2fd6b9b commit c2221f4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

src/service/endpoints/key-announce.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -148,7 +148,7 @@ module.exports = class KeyAnnounceEndpoint extends IEndpoint {
148148
// create session document
149149

150150
const now = Date.now()
151-
const tomorrow = now + 24*60*60*1000
151+
const tomorrow = now + 24*60*60*1000 + 5*60*1000
152152

153153
const fiveMinAgo = now - (5*1000*60)
154154
const fiveMinFromNow = now + (5*1000*60)

0 commit comments

Comments
 (0)