Datetime Type of TkbmMWLoadBalancedServer

Home Forums kbmMW Datetime Type of TkbmMWLoadBalancedServer

Viewing 1 reply thread
  • Author
    Posts
    • #54974
      TomYU
      Participant

      hi,

      The attribute of the datetime type of TkbmMWLoadBalancedServer is inconsistent with the type returned by the load balance server。

      eg.
      TkbmMWLoadBalancedServer.LastRequestTime is TDateTime type and it is TkbmMWDatetime on the server side.

      best regards
      Tom yu.

    • #54986
      kimbomadsen
      Keymaster

      Hi,
      Thank you for your bug report. It will be fixed in next release.

      The fix is to modify the 4 lines in function TkbmMWCustomLoadBalancingService.PerformLB_GET_SERVER_INFO
      to match:

      Result[3]:=Server.CreationTime.Local;
      Result[4]:=Server.StartServingTime.Local;
      Result[5]:=Server.StopServingTime.Local;
      Result[6]:=Server.LastRequestTime.Local;
      (essentially adding .Local to each of the lines).

      best regards
      Kim/C4D

      • This reply was modified 1 month, 1 week ago by kimbomadsen.
Viewing 1 reply thread
  • You must be logged in to reply to this topic.