Skip to content

Commit

Permalink
Issue #30 - Changed neuron reset timer to 250 ms
Browse files Browse the repository at this point in the history
  • Loading branch information
vbop9834 committed Nov 4, 2016
1 parent f8f918d commit 2c21ae8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions NeuralFish/NeuralFish.fs
Original file line number Diff line number Diff line change
Expand Up @@ -165,10 +165,10 @@ let createNeuronInstance neuronType =
(inboundConnections : InboundNeuronConnections)
(outboundConnections : NeuronConnections) =
async {
let! someMsg = inbox.TryReceive 20000
let! someMsg = inbox.TryReceive 250
match someMsg with
| None ->
sprintf "Neuron %A did not receive message in 20 seconds. Looping mailbox" nodeId |> infoLog
sprintf "Neuron %A did not receive message in 250 ms. Looping mailbox" nodeId |> infoLog
return! loop barrier inboundConnections outboundConnections
| Some msg ->
match msg with
Expand Down

0 comments on commit 2c21ae8

Please sign in to comment.