seconds per definition


On Tue, May 13, 2014 at 7:29 PM, Alexander Rykovanov <
notifications@github.com> wrote:

> In binary_protocol/src/opc_tcp_processor.cpp:
>
> > @@ -560,6 +604,82 @@ namespace
> >         responseHeader.RequestHandle = requestHeader.RequestHandle;
> >      }
> >
> > +    float GetNextSleepPeriod()
> > +    {
> > +      if ( Subscriptions.size() == 0)
> > +      {
> > +        return  10;
> > +      }
> > +      std::chrono::duration<double> now =  std::chrono::system_clock::now().time_since_epoch();
>
> std::chrono::duration - What is the units? seconds, miliseconds...
>
> —
> Reply to this email directly or view it on GitHub<https://github.com/FreeOpcUa/opcua-server/pull/30/files#r12596241>
> .
>