Commit c3bc65a4 authored by RyanHerb's avatar RyanHerb Committed by Mathieu Giraud

database.js fix hard-coded timeouts

Some timeouts were hard-coded with a value that existed as a global
variable.
parent ccf2081e
......@@ -686,7 +686,7 @@ Database.prototype = {
$.ajax({
type: "POST",
timeout: 15000,
timeout: DB_TIMEOUT_GET_DATA,
crossDomain: true,
url: self.db_address + "default/get_analysis" + "?" + this.argsToStr(args),
xhrFields: {withCredentials: true},
......@@ -721,7 +721,7 @@ Database.prototype = {
$.ajax({
type: "POST",
timeout: 15000,
timeout: DB_TIMEOUT_GET_DATA,
crossDomain: true,
url: self.db_address + "default/save_analysis" + "?" + this.argsToStr(self.last_file),
data : fd,
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment