Skip to content

Commit bd9267b

Browse files
authored
fix: change neighbors array to 12 neighbors (#36)
1 parent 7a8affd commit bd9267b

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

big/src/main/kotlin/ac/at/uibk/dps/dapr/big/big/BigActorImpl.kt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ class BigActorImpl(runtimeContext: ActorRuntimeContext<BigActorImpl>, val actorI
1717
var counter = metricRegistry.counter("big.pings")
1818
var eventTimer = metricRegistry.timer("event.latency")
1919

20-
private val neighbors: IntArray = (0..5).filter { it != actorId.toString().toInt() }.toIntArray()
20+
private val neighbors: IntArray = (0..11).filter { it != actorId.toString().toInt() }.toIntArray()
2121
private var count = 0
2222

2323
override fun register() {

0 commit comments

Comments
 (0)