vuongxuongminh / laravel-async

Package provide simple way to run code asynchronously for your Laravel application.
MIT License
154 stars 26 forks source link

Unable to serialize output after setting defaultOutputLength to 40KB or above. #36

Open CongAn opened 1 year ago

CongAn commented 1 year ago
  1. Problem: $output has no output.

  2. My output data is relatively long, converted to a JSON string of approximately 91KB.

  3. After continuous attempts, I was able to output $output normally when I truncated 91KB to 40KB.

  4. Where is the problem?

    /*
    * Default output length of async processes.
    */
    'defaultOutputLength' => 1024 * 100,

16