This commit is contained in:
overcuriousity
2025-09-14 15:31:18 +02:00
parent 2ae33bc5ba
commit 72f7056bc7
5 changed files with 62 additions and 4 deletions

View File

@@ -64,6 +64,9 @@ class DNSReconApp {
progressDisplay: document.getElementById('progress-display'),
indicatorsDisplay: document.getElementById('indicators-display'),
relationshipsDisplay: document.getElementById('relationships-display'),
taskQueueDisplay: document.getElementById('task-queue-display'),
tasksCompletedDisplay: document.getElementById('tasks-completed-display'),
tasksReEnqueuedDisplay: document.getElementById('tasks-re-enqueued-display'),
progressFill: document.getElementById('progress-fill'),
// Provider elements
@@ -548,6 +551,15 @@ class DNSReconApp {
if (this.elements.indicatorsDisplay) {
this.elements.indicatorsDisplay.textContent = status.indicators_processed || 0;
}
if (this.elements.taskQueueDisplay) {
this.elements.taskQueueDisplay.textContent = status.task_queue_size || 0;
}
if (this.elements.tasksCompletedDisplay) {
this.elements.tasksCompletedDisplay.textContent = status.indicators_completed || 0;
}
if (this.elements.tasksReEnqueuedDisplay) {
this.elements.tasksReEnqueuedDisplay.textContent = status.tasks_re_enqueued || 0;
}
// Update progress bar with smooth animation
if (this.elements.progressFill) {
@@ -790,6 +802,20 @@ class DNSReconApp {
<span class="provider-stat-value">${info.rate_limit}/min</span>
</div>
</div>
<div class="provider-task-stats">
<div class="provider-stat">
<span class="provider-stat-label">Task Queue:</span>
<span class="provider-stat-value">${info.task_queue_size || 0}</span>
</div>
<div class="provider-stat">
<span class="provider-stat-label">Tasks Completed:</span>
<span class="provider-stat-value">${info.tasks_completed || 0}</span>
</div>
<div class="provider-stat">
<span class="provider-stat-label">Tasks Re-enqueued:</span>
<span class="provider-stat-value">${info.tasks_re_enqueued || 0}</span>
</div>
</div>
`;
this.elements.providerList.appendChild(providerItem);