|
@@ -21,7 +21,6 @@ import org.apache.commons.lang3.BooleanUtils;
|
|
|
import org.apache.commons.lang3.StringUtils;
|
|
|
import org.springframework.beans.factory.annotation.Autowired;
|
|
|
import org.springframework.beans.factory.annotation.Value;
|
|
|
-import org.springframework.scheduling.annotation.Async;
|
|
|
import org.springframework.stereotype.Service;
|
|
|
|
|
|
import java.io.IOException;
|
|
@@ -273,8 +272,12 @@ public class GTMService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /** Executes in async mode after the container is created to improve API efficiency. */
|
|
|
- @Async
|
|
|
+ /**
|
|
|
+ * Turns off async mode to prevent problems with API quota limitations.
|
|
|
+ *
|
|
|
+ * <p>See https://developers.google.com/tag-platform/tag-manager/api/v2/limits-quotas
|
|
|
+ */
|
|
|
+ // @Async
|
|
|
public void initContainerAccess(String accountResourceName, String containerId)
|
|
|
throws DataException {
|
|
|
try {
|
|
@@ -314,8 +317,12 @@ public class GTMService {
|
|
|
}
|
|
|
}
|
|
|
|
|
|
- /** Executes in async mode after the container is created to improve API efficiency. */
|
|
|
- @Async
|
|
|
+ /**
|
|
|
+ * Turns off async mode to prevent problems with API quota limitations.
|
|
|
+ *
|
|
|
+ * <p>See https://developers.google.com/tag-platform/tag-manager/api/v2/limits-quotas
|
|
|
+ */
|
|
|
+ // @Async
|
|
|
public void initContainerSetups(
|
|
|
String containerResourceName, String gaMeasurementId, String matomoSiteId)
|
|
|
throws DataException {
|