Fix write conflicts for disk session cache

Will use random waits when a write conflict is detected.
This should allow several clients to write at the same time.
Inspired from CSMA/CD (ethernet way of handling collisions).

Bug report by TNT-UP @ MC Forum post no.1684
This commit is contained in:
ORelio 2016-03-21 10:45:50 +01:00
parent 4a8b30ee94
commit 75bbeb0b4b
2 changed files with 27 additions and 11 deletions

View file

@ -112,7 +112,7 @@ If you are experienced with C#, you may also write a C# script.
That's a bit more involved, but way more powerful than regular scripts.
You can look to the provided sample C# scripts for getting started.
C# scripts can be used for creating your own ChatBot without recompiling the wole project.
C# scripts can be used for creating your own ChatBot without recompiling the whole project.
These bots are embedded in a script file, which is compiled and loaded on the fly.
ChatBots can access plugin channels for communicating with your own plugin.