Implement TR-069 Upload method
This commit is contained in:
1 parent
d29448e3a7
commit
dae521ae89
22 files changed
+1016
-68
No files matched your search
@@ -89,6 +89,14 @@ export function stageDownload(task: StageTask): void {
|
||||
staging.add(task);
|
||||
}
|
||||
|
||||
export function stageUpload(task: StageTask): void {
|
||||
if (queue.size + task.devices.length > MAX_QUEUE) {
|
||||
notifications.push("error", "Too many tasks in queue");
|
||||
return;
|
||||
}
|
||||
staging.add(task);
|
||||
}
|
||||
|
||||
export function commit(
|
||||
tasks: QueueTask[],
|
||||
callback: (
|
||||
|
||||
Reference in new issue
Block a user