dogpile.cache
dogpile.cache copied to clipboard
Should be able to check if region is already configured
Migrated issue, originally created by s (sontek)
Right now if the code that calls configure on a region gets hit by multiple threads, the 2nd one will fail. We should be able to say something like:
if not region.is_configured(): .. configure!
Michael Bayer (zzzeek) wrote:
OK, well that also means the whole thing has to be synchronized. I guess as mappers in SQLA have this all synchronized that serves as precedent here.