How long should I wait to retry failed transaction/mutation?

Hi. If I have the extreme rare case of concurrency (two mutations at once. one fails because of that); how many milliseconds should I wait until I can retry the mutation? 1ms? or rather 10ms? what is a safe value?

The timestamps in Dgraph are ordered numbers based on actions, not literal ‘time’ like measured in seconds. So if a transaction was aborted you can retry it ‘immediately’ as you will be issued a timestamp (number) greater than the last number that was issued. A different cause may abort the next transaction of course.