You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
// Dapr will probe every 50ms to see if we are listening on our port: https://github.com/dapr/dapr/blob/a43712c97ead550ca2f733e9f7e7769ecb195d8b/pkg/runtime/runtime.go#L1694
153
150
// if we are using actors we will change this to 4s to let the placement tables update
154
-
letisHealthy=false;
155
-
letisHealthyRetryCount=0;
156
-
constisHealthyMaxRetryCount=60;// 1s startup delay and we try max for 60s
151
+
letisStarted=awaitfnIsSidecarStarted();
152
+
letisStartedRetryCount=0;
153
+
constisStartedMaxRetryCount=60;// 1s startup delay and we try max for 60s
157
154
158
-
this.logger.info(`Awaiting Sidecar to be Started`);
159
-
while(!isHealthy){
160
-
this.logger.verbose(`Waiting for the Dapr Sidecar to start, retry count: (#${isHealthyRetryCount})`);
155
+
if(isStarted){
156
+
return;
157
+
}
158
+
159
+
logger.info(`Awaiting Sidecar to be Started`);
160
+
while(!isStarted){
161
+
logger.verbose(`Waiting for the Dapr Sidecar to start, retry count: (#${isStartedRetryCount})`);
0 commit comments