Skip to content

Commit

Permalink
Update tls.js (haraka#3181)
Browse files Browse the repository at this point in the history
  • Loading branch information
lnedry committed Apr 29, 2023
1 parent 8c34cfd commit 4ecb82c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/tls.js
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ exports.set_notls = function (connection) {

this.lognotice(connection, `STARTTLS failed. Marking ${connection.remote.ip} as non-TLS host for ${expiry} seconds`);

server.notes.redis.setex(`no_tls|${connection.remote.ip}`, expiry, (new Date()).toISOString());
server.notes.redis.setEx(`no_tls|${connection.remote.ip}`, expiry, (new Date()).toISOString());
}

exports.upgrade_connection = function (next, connection, params) {
Expand Down

0 comments on commit 4ecb82c

Please sign in to comment.