mirror of
https://github.com/QingdaoU/OnlineJudge.git
synced 2025-11-04 14:49:58 +08:00
17 lines
362 B
Python
17 lines
362 B
Python
# coding=utf-8
|
|
import socket
|
|
import redis
|
|
|
|
from .rpc_client import TimeoutServerProxy
|
|
from .settings import redis_config
|
|
from .models import JudgeServer
|
|
|
|
|
|
class JudgeDispatcher(object):
|
|
def __init__(self):
|
|
self.redis = redis.StrictRedis(host=redis_config["host"], port=redis_config["port"], db=redis_config["db"])
|
|
|
|
def judge(self):
|
|
pass
|
|
|