Django populate() isn't reentrant

后端 未结 6 1942
一生所求
一生所求 2020-11-29 07:54

I keep getting this when I try to load my Django application on production . I tried all the stackoverflow answers but nothing has fixed it. Any other ideas. (I\'m usin

6条回答
  •  执念已碎
    2020-11-29 08:38

    For those using AWS Lambda (and optionally using zappa) this can happen when the size of code & dependencies zipped into a deployment package exceeds 250MB after decompression.

    Typically the zip may only be 50 MB but may decompress to over 250MB so you may need to manually unzip the deployment package to check it isn't too large when uncompressed.

    https://docs.aws.amazon.com/lambda/latest/dg/limits.html

提交回复
热议问题