Introduce websocket cmd for SuchWow so that it can dynamically add/update new images and change FeatherTask to WowletTask

This commit is contained in:
dsc 2021-05-03 00:36:44 +02:00
parent 136e7909fa
commit 891baaff71
10 changed files with 23 additions and 22 deletions

View file

@ -6,10 +6,10 @@ from dateutil.parser import parse
import settings
from wowlet_backend.utils import httpget
from wowlet_backend.tasks import FeatherTask
from wowlet_backend.tasks import WowletTask
class XmrigTask(FeatherTask):
class XmrigTask(WowletTask):
"""Fetches the latest XMRig releases using Github's API"""
def __init__(self, interval: int = 43200):
super(XmrigTask, self).__init__(interval)