Subject: | Stops talking to the server after 1,019 queries. |
After 1,019 cypher queries it errors out with
"Can't connect to 127.0.0.1:7474 (timeout)(after 3 retries)"
I've increased the values retry and timeout values, and am getting the problem even on a toy
example(also attached as a file).
Comment out one or the other and both fail while executing 1,020. I think this is related to an
earlier problem I've been having.
use REST::Neo4p;
REST::Neo4p->connect( "http://127.0.0.1:7474" );
my $statement = 'START x=node(0) RETURN x';
foreach my $i (0..5000) {
$node = REST::Neo4p->get_node_by_id(0);
}
foreach my $i (0..5000) {
warn "On $i";
my $query = REST::Neo4p::Query->new($statement);
$query->execute();
}
Subject: | test.pl |
use REST::Neo4p;
REST::Neo4p->connect( "http://127.0.0.1:7474" );
my $statement = 'START x=node(0) RETURN x';
foreach my $i (0..5000) {
$node = REST::Neo4p->get_node_by_id(0);
}
foreach my $i (0..5000) {
warn "On $i";
my $query = REST::Neo4p::Query->new($statement);
$query->execute();
}