https://github.com/apache/airflow/blob/3a349624a20d3432dc75e337d6ffb1109a50e451/airflow/providers/amazon/aws/operators/athena.py#L49

What is the unit of measurement of time used here?
airflow/providers/amazon/aws/hooks/athena.py
final_query_state = None  
        while True:
            query_state = self.check_query_status(query_execution_id)
            if query_state is None:
                self.log.info('Trial %s: Invalid query state. Retrying again', try_number)
            elif query_state in self.INTERMEDIATE_STATES:
                self.log.info(
                    'Trial %s: Query is still in an intermediate state - %s', try_number, query_state
                )
            else:
                self.log.info(
                    'Trial %s: Query execution completed. Final state is %s}', try_number, query_state
                )
                final_query_state = query_state
                break
            if max_tries and try_number >= max_tries:  
                final_query_state = query_state
                break
            try_number += 1
            sleep(self.sleep_time)
        return final_query_state
    def stop_query(self, query_execution_id: str) -> Dict:
        """
        Cancel the submitted athena query
        :param query_execution_id: Id of submitted athena query
        :type query_execution_id: str
        :return: dict
        """
        return self.get_conn().stop_query_execution(QueryExecutionId=query_execution_id)