mirror of
https://github.com/solero/houdini.git
synced 2024-11-09 12:48:20 +00:00
Use gino engine instance from Houdini.Data module in HoudiniFactory
This commit is contained in:
parent
f83b0dee1c
commit
375bd59705
@ -20,7 +20,7 @@ import aioredis
|
||||
from aiocache import SimpleMemoryCache
|
||||
from watchdog.observers import Observer
|
||||
|
||||
from gino import Gino
|
||||
from Houdini.Data import db
|
||||
|
||||
try:
|
||||
import uvloop
|
||||
@ -40,7 +40,7 @@ class HoudiniFactory:
|
||||
self.redis = None
|
||||
self.config = None
|
||||
self.cache = None
|
||||
self.db = Gino()
|
||||
self.db = db
|
||||
self.peers_by_ip = {}
|
||||
|
||||
self.server_name = kwargs['server']
|
||||
|
Loading…
Reference in New Issue
Block a user