Projekt

Obecné

Profil

« Předchozí | Další » 

Revize 2c9a5fda

Přidáno uživatelem Jakub Šilhavý před více než 2 roky(ů)

re #9845 Added an outer loop for information retrieval

Zobrazit rozdíly:

ld_client/LDClient/utils/ConfigLoader.cs
185 185
        /// </summary>
186 186
        public string T32ApiPacketLen { get; private set; } = null!;
187 187

  
188
        /// <summary>
189
        /// Superior number of attempts to fetch the information (outer loop).
190
        /// </summary>
191
        public uint FetchInfoSuperiorMaxAttempts { get; private set; }
192
        
193
        /// <summary>
194
        /// Period of the superior (outer) loop to fetch the data.
195
        /// </summary>
196
        public uint FetchInfoSuperiorAttemptPeriod { get; private set;  }
197

  
188 198
        #endregion
189 199

  
190 200
        /// <summary>
......
283 293
                T32ApiAddress = debugger["T32ApiAddress"];
284 294
                T32ApiPort = debugger["T32ApiPort"];
285 295
                T32ApiPacketLen = debugger["T32ApiPacketLen"];
286
                
296
                FetchInfoSuperiorMaxAttempts = uint.Parse(debugger["FetchInfoSuperiorMaxAttempts"]);
297
                FetchInfoSuperiorAttemptPeriod = uint.Parse(debugger["FetchInfoSuperiorAttemptPeriod"]);
298

  
287 299
            } catch (Exception e) {
288 300
                Console.WriteLine(e);
289 301
                Environment.Exit(ErrorExitCode);

Také k dispozici: Unified diff