Skip to content

Commit 7671be4

Browse files
Merge pull request #284 from macrocosm-os/staging
Staging
2 parents c26463f + d8fbd3a commit 7671be4

File tree

2 files changed

+5
-4
lines changed

2 files changed

+5
-4
lines changed

folding/__init__.py

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
from .protocol import JobSubmissionSynapse
22
from .validators.protein import Protein
33

4-
__version__ = "1.2.2"
4+
__version__ = "1.2.3"
55
version_split = __version__.split(".")
66
__spec_version__ = (
77
(10000 * int(version_split[0]))

folding/utils/config.py

+4-3
Original file line numberDiff line numberDiff line change
@@ -23,9 +23,10 @@
2323
from folding.utils.logger import logger
2424
from folding.utils.logger import setup_file_logging, add_events_level
2525

26+
2627
def check_config(cls, config: "bt.Config"):
2728
r"""Checks/validates the config namespace object."""
28-
29+
2930
full_path = os.path.expanduser(
3031
"{}/{}/{}/netuid{}/{}".format(
3132
"~/.bittensor/miners",
@@ -43,7 +44,7 @@ def check_config(cls, config: "bt.Config"):
4344
add_events_level()
4445
setup_file_logging(
4546
os.path.join(config.neuron.full_path, "events.log"),
46-
config.neuron.events_retention_size
47+
config.neuron.events_retention_size,
4748
)
4849

4950

@@ -318,7 +319,7 @@ def add_validator_args(cls, parser):
318319
"--neuron.ping_timeout",
319320
type=float,
320321
help="Controls the timeout for the PingSynapse call",
321-
default=3,
322+
default=45,
322323
)
323324

324325
parser.add_argument(

0 commit comments

Comments
 (0)