def METHOD_NAME(self):
    """
    Write has file for check tilestache config between processes
    :param force:
    :return:
    """
    cid = time.time()
    '''
    f = open(self.file_hash_name, 'w+')
    f.write(str(cid))
    f.close()
    '''
    with open(self.file_hash_name, "w") as f:
        logger.debug('CID salvo file {}'.format(cid))
        fcntl.flock(f, fcntl.LOCK_EX | fcntl.LOCK_NB)
        f.write(str(cid))
        fcntl.flock(f, fcntl.LOCK_UN)
    self.set_cache_hash(cid)