NaturalHistoryMuseum / iiif-image-server

A IIIF Image Server
GNU General Public License v3.0
5 stars 0 forks source link

Proactively disable Pillow bomb errors in subprocesses #34

Closed jrdh closed 2 years ago

jrdh commented 2 years ago

This seems to have become a problem post-loky, but only in production? I would assume it's because Loky is doing something different in prod when it spawns new processes and perhaps not completely copying the existing memory state of the process? Who knows, either way this fixes it and is inoffensive.