def _sync_state(self):
        t = time.time()

        # do not sync state if STATE_SYNC_INTERVAL seconds haven't passed
        # since the last sync
        if t - self._state_last_synced < STATE_SYNC_INTERVAL:
            return

        # get the distribution state object from shared memory
        sm_state = self._sm.get(config.BASE['SHARED_MEM_PPDNS_STATE_KEY'])

        # failed to get state from shared mem - ignore silently,
        # continue to use the in-memory state
        if sm_state is None:
            return

        # check timestamp on it, if it did not change since the last pull
        # do not update the local memory state to avoid resetting
        # rotation indexes needlessly
        if self._state_timestamp == sm_state['timestamp']:
            return

        # otherwise make the shared memory state fetched the self._state
        self._state = sm_state

        # update self._state_timestamp
        self._state_timestamp = sm_state['timestamp']

        # update _state_last_synced
        self._state_last_synced = t
Indicates the asymmetry of a curve. Positive values mean the bulk
dataset/ETHPy150Open polaris-gslb/polaris-gslb/polaris_pdns/core/polaris.py/Polaris._sync_state--crossover with--dataset/ETHPy150Open mahmoud/boltons/boltons/statsutils.py/Stats._calc_skewness