Permalink
Browse files

Changed calc timeout from 5 seconds to 500 ms

  • Loading branch information...
1 parent df16125 commit a71de9fa5106d348f250ff16a9e849897c97ebaa @Ricket committed Sep 8, 2011
Showing with 1 addition and 1 deletion.
  1. +1 −1 scripts/calc.js
View
@@ -12,7 +12,7 @@ var exec = require('child_process').exec;
listen(/PRIVMSG [^ ]+ :~(calc|eval|math) (.*)$/i, function(match, data, replyTo) {
var child = exec('node scripts/calc.js.child',
{ encoding: 'ascii',
- timeout: 5000 },
+ timeout: 500 },
function (error, stdout, stderr) {
if(error != null) {
irc.privmsg(replyTo, stdout);

0 comments on commit a71de9f

Please sign in to comment.