haproxy map
This commit is contained in:
@@ -54,6 +54,11 @@ const APP_VARIANTS = {
|
||||
value: 'lua',
|
||||
text: 'Lua Script',
|
||||
description: 'Lua-based blocking script for advanced HAProxy setups'
|
||||
},
|
||||
{
|
||||
value: 'map',
|
||||
text: 'Map File',
|
||||
description: 'HAProxy map format (for use with -m ip / map files)'
|
||||
}
|
||||
]
|
||||
};
|
||||
|
||||
@@ -76,15 +76,13 @@ function showProgress() {
|
||||
window.progressInitTimeout = setTimeout(() => {
|
||||
if (progressMessage && progressMessage.textContent === 'Initializing...') {
|
||||
progressMessage.innerHTML = `
|
||||
<div>Initializing...</div>
|
||||
<div>Request is being processed for over 10 seconds.</div>
|
||||
<div style="margin-top: 10px; color: #856404; background: #fff3cd; padding: 10px; border-radius: 4px; font-size: 0.9em;">
|
||||
Taking longer than expected...<br>
|
||||
All workers may be busy processing other requests.<br>
|
||||
Please wait for the queue to clear.
|
||||
The task is queued and will start automatically once current processing is finished.
|
||||
</div>
|
||||
`;
|
||||
}
|
||||
}, 5000);
|
||||
}, 10000);
|
||||
|
||||
startProgressPolling();
|
||||
}
|
||||
@@ -183,7 +181,7 @@ async function downloadConfiguration(formData) {
|
||||
document.body.removeChild(a);
|
||||
|
||||
if (fromCache) {
|
||||
showResult(`<i class="fas fa-bolt"></i> <strong>Lightning fast!</strong> Downloaded from cache: ${filename}`, 'success');
|
||||
showResult(`<i class="fas fa-bolt"></i> <strong>Ready!</strong> Downloaded from cache: ${filename}`, 'success');
|
||||
} else {
|
||||
showResult(`Configuration downloaded successfully: ${filename}`, 'success');
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user