Merge branch 'fix-neo4j-duplicate-nodes' into improve-property-tooltip
This commit is contained in:
@@ -553,18 +553,6 @@ class Neo4JStorage(BaseGraphStorage):
|
|||||||
logger.error(f"Error during upsert: {str(e)}")
|
logger.error(f"Error during upsert: {str(e)}")
|
||||||
raise
|
raise
|
||||||
|
|
||||||
@retry(
|
|
||||||
stop=stop_after_attempt(3),
|
|
||||||
wait=wait_exponential(multiplier=1, min=4, max=10),
|
|
||||||
retry=retry_if_exception_type(
|
|
||||||
(
|
|
||||||
neo4jExceptions.ServiceUnavailable,
|
|
||||||
neo4jExceptions.TransientError,
|
|
||||||
neo4jExceptions.WriteServiceUnavailable,
|
|
||||||
neo4jExceptions.ClientError,
|
|
||||||
)
|
|
||||||
),
|
|
||||||
)
|
|
||||||
@retry(
|
@retry(
|
||||||
stop=stop_after_attempt(3),
|
stop=stop_after_attempt(3),
|
||||||
wait=wait_exponential(multiplier=1, min=4, max=10),
|
wait=wait_exponential(multiplier=1, min=4, max=10),
|
||||||
|
Reference in New Issue
Block a user