Skip to content

Commit ba23927

Browse files
committed
crytical fixes
1 parent eb3193c commit ba23927

2 files changed

Lines changed: 4 additions & 3 deletions

File tree

chatbot/python/chatbot.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -157,7 +157,7 @@ def client_generate():
157157
msg = queue_out.get()
158158
if msg == None:
159159
return
160-
log("out:", to_json(msg)
160+
log("out:", to_json(msg))
161161
yield msg
162162

163163
def client_post(msg):

server/cluster.go

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -815,9 +815,10 @@ func clusterInit(configString json.RawMessage, self *string) int {
815815
thisName = config.ThisName
816816
}
817817

818-
// Name of the current node is not specified - disable clustering
818+
// Name of the current node is not specified: clustering disabled.
819819
if thisName == "" {
820-
log.Fatal("Cluster: name of the current node is not specified.")
820+
log.Println("Cluster: running as a standalone server.")
821+
return 1
821822
}
822823

823824
gob.Register([]interface{}{})

0 commit comments

Comments
 (0)