Skip to content

Commit e95fabd

Browse files
author
Bulat Shakirzyanov
committed
short-circuit session init success
1 parent b289706 commit e95fabd

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

support/ccm.php

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -76,6 +76,7 @@ public function start()
7676
try {
7777
$this->cluster = $builder->build();
7878
$this->session = $this->cluster->connect();
79+
break;
7980
} catch (Cassandra\Exception\RuntimeException $e) {
8081
$this->cluster = null;
8182
$this->session = null;

0 commit comments

Comments
 (0)