node-neo4j
node-neo4j copied to clipboard
Double Insert.
Hi guys,
I am experiencing a strange situation. Randomly to insert a record in the database is a "double insert", the record is added twice. I've used setTimeout node in order to avoid problems of double click. If I click several times in the time to insert a record in the database setTimeout works, do not let me enter multiple, is just working. Any suggestions? I'm doing my requests via Jquery.
Thank
I think we need more details about how you're creating the "record". Can you reproduce with logging enabled so you can see that you're really actually only making one request with the neo4j client?
Hi,
I increased the delay time for the inserts and I will do a test to see if the problem ends.