Closed
Description
I have the following scenario:
20 workers, working in parallel, processing Shopify API calls.
More than 10 Shopify stores are connected.
This sets the API credentials statically, and is used in a global way.
PHPShopify\ShopifySDK::config($config);
Worker 1: Setting config for shop #1. Making the API call.
Worker 2: Setting config for shop #2. Making the API call.
The configs are mixed up.
That is bad... bad bad bad!