schedule same nodes with different weight

This commit is contained in:
streetycat
2023-09-18 07:58:08 +00:00
parent b38aae81e2
commit f2a25b1b99
2 changed files with 18 additions and 0 deletions
+3
View File
@@ -35,6 +35,9 @@ class ComputeNode(ABC):
def is_local(self) -> bool:
pass
def weight(self) -> int:
return 1
def is_trusted(self) -> bool:
return True