Unverified Commit 6d0a9c42 authored by Chao Ma's avatar Chao Ma Committed by GitHub
Browse files

[Fix issue] Fix issue 1170 (#1171)

* API change of kvstore

* add demo for kvstore

* update

* remove duplicated log

* change queue size

* update

* update

* update

* update

* update

* update

* update

* update

* update

* fix lint

* change name

* update

* fix lint

* update

* update

* update

* update

* change message queue size to a python argument

* change default queue size to 2GB

* OMP_NUM_THREADS=1

* add multiple NICs support for kvstore

* test

* fix lint

* update

* update

* update

* update

* update

* update

* update

* fix lint

* fix lint

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* update

* fix lint

* update

* fix lint
parent 1022d5d6
......@@ -2,7 +2,6 @@
from __future__ import absolute_import
import time
import signal
from enum import Enum
from collections import namedtuple
......@@ -18,13 +17,6 @@ _init_api("dgl.network")
_WAIT_TIME_SEC = 3 # 3 seconds
def keyboard_interrupt_handler(my_signal):
"""Users can use [Ctl + C] to exit loop service
"""
print("KeyboardInterrupt (ID: {}) has been caught. Cleaning up DGL ...".format(my_signal))
exit(0)
signal.signal(signal.SIGINT, keyboard_interrupt_handler)
def _network_wait():
"""Sleep for a few seconds
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment