Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: Fix a few typos #68

Open
wants to merge 1 commit into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion cola/cluster/master.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down
2 changes: 1 addition & 1 deletion cola/core/bloomfilter/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down
2 changes: 1 addition & 1 deletion cola/core/opener.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down