mirror of
https://github.com/Alvin-Zilverstand/nginx-proxy-manager.git
synced 2026-11-28 00:47:54 +01:00
Increases timeouts in front- and backend
This commit is contained in:
1 parent
514b13fcc2
commit
95208a50a7
8 files changed
+20
-10
No files matched your search
@@ -586,7 +586,8 @@ module.exports = {
|
||||
/**
|
||||
* @param {Object} data
|
||||
*/
|
||||
create: function (data, timeout = 180000) {
|
||||
create: function (data) {
|
||||
const timeout = 180000 + (data.meta.propagation_seconds ? Number(data.meta.propagation_seconds) * 1000 : 0);
|
||||
return fetch('post', 'nginx/certificates', data, {timeout});
|
||||
},
|
||||
|
||||
|
||||
Reference in new issue
Block a user