diff --git a/cola/cluster/master.py b/cola/cluster/master.py index 0eacb15..563b3aa 100644 --- a/cola/cluster/master.py +++ b/cola/cluster/master.py @@ -222,7 +222,7 @@ def _check_workers(self): for job in self.job_tracker.running_jobs: self.job_tracker.remove_worker(job, worker) - # if continously connect for more than 10 min + # if continuously connect for more than 10 min elif info.continous_register >= CONTINOUS_HEARTBEAT: if info.status != RUNNING: info.status = RUNNING diff --git a/cola/core/bloomfilter/__init__.py b/cola/core/bloomfilter/__init__.py index b6ee59b..f6126ed 100644 --- a/cola/core/bloomfilter/__init__.py +++ b/cola/core/bloomfilter/__init__.py @@ -87,7 +87,7 @@ def _hashes(self, item): def _optimal_size(self, capacity, error): """Calculates minimum number of bits in filter array and - number of hash functions given a number of enteries (maximum) + number of hash functions given a number of entries (maximum) and the desired error rate (false positives). Example: diff --git a/cola/core/opener.py b/cola/core/opener.py index 5592b99..09c4979 100644 --- a/cola/core/opener.py +++ b/cola/core/opener.py @@ -129,7 +129,7 @@ def set_default_timeout(self, timeout): def open(self, url, data=None, timeout=None): # check if gzip by # br.response().info().dict.get('content-encoding') == 'gzip' - # experimently add `self.br.set_handle_gzip(True)` to handle + # experimentally add `self.br.set_handle_gzip(True)` to handle self._clear_content() if timeout is None: timeout = self._default_timout