mirror of
https://github.com/donaldzou/WGDashboard.git
synced 2025-12-16 16:36:17 +00:00
Update PeerJobs.py
This commit is contained in:
@@ -192,8 +192,10 @@ class PeerJobs:
|
|||||||
self.deleteJob(j)
|
self.deleteJob(j)
|
||||||
|
|
||||||
def cleanJob(self, init = False):
|
def cleanJob(self, init = False):
|
||||||
|
|
||||||
failingJobs = self.JobLogger.getFailingJobs()
|
failingJobs = self.JobLogger.getFailingJobs()
|
||||||
with self.engine.begin() as conn:
|
with self.engine.begin() as conn:
|
||||||
|
print(conn.dialect.name)
|
||||||
for job in failingJobs:
|
for job in failingJobs:
|
||||||
conn.execute(
|
conn.execute(
|
||||||
self.peerJobTable.update().values(
|
self.peerJobTable.update().values(
|
||||||
|
|||||||
Reference in New Issue
Block a user