mirror of
https://github.com/NginxProxyManager/nginx-proxy-manager.git
synced 2025-06-17 17:56:27 +00:00
Increases timeouts in front- and backend
This commit is contained in:
@ -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