Skip to content

Conversation

@marado
Copy link
Contributor

@marado marado commented Feb 26, 2021

This inelegant and hackyish fix gives a randomly generated name to the
temporary savefiles, so there is only a 0.1% chance of the filename
being the same twice in a row.

This solves the ocasional exceptions raised in save_plant, when there
is more than one call still running at once, for the same user (due to
slow writes).

This inelegant and hackyish fix gives a randomly generated name to the
temporary savefiles, so there is only a 0.1% chance of the filename
being the same twice in a row.

This solves the ocasional exceptions raised in save_plant, when there
is more than one call still running at once, for the same user (due to
slow writes).
marado added a commit to marado/public_html that referenced this pull request Jul 29, 2021
Again a victim of botany's bugs, we're back to the begining of
generation 44:

  You're tired of waiting for your seed to grow.
  Generation: 44
  Growth rate: 9.6x

A fix for this issue was already provided in
jifunks/botany#38 .
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant