problem is NOT the DB. promised
3 examples:
1. bot with nodejs mysql2 function
can run 2000 writes per second no problem. no errors
all values are corrrectly inserted
insert into log (id,timestamp,botname,comment) values ([[ID]],CURRENT_TIMESTAMP,[[BOTNAME]],[[COMMENT]]);
--> insert into log (id,timestamp,botname,comment) values (123,CURRENT_TIMESTAMP,'test','test');
2. Bot with your SQL and "Execute query" function
can run 2000 writes per second no problem. no errors
all values are corrrectly inserted
insert into log (id,timestamp,botname,comment) values ([[ID]],CURRENT_TIMESTAMP,[[BOTNAME]],[[COMMENT]]);
--> insert into log (id,timestamp,botname,comment) values (123,CURRENT_TIMESTAMP,'test','test');
3. Bot with your SQL and "Insert Row" function
First run after new start:
insert into log (id,timestamp,botname,comment) values ([[ID]],CURRENT_TIMESTAMP,[[BOTNAME]],[[COMMENT]]);
--> insert into log (id,timestamp,botname,comment) values (NULL,NULL,NULL,NULL);
NO VALUES !!!!!
4. Bot with your SQL and "Insert Row" function
second run, can run 2000 writes per second no problem. no errors
insert into log (id,timestamp,botname,comment) values ([[ID]],CURRENT_TIMESTAMP,[[BOTNAME]],[[COMMENT]]);
--> insert into log (id,timestamp,botname,comment) values (123,CURRENT_TIMESTAMP,'test','test');
all values are corrrectly inserted
it is always ONLY on 1. run
is there something i can check locally? DB connection is fine and everything else works fine as well, just not sequelize