diff options
| author | Vu Cong Tuan <tuanvc@vn.fujitsu.com> | 2018-05-09 17:14:11 +0700 |
|---|---|---|
| committer | Eric Fried <efried@us.ibm.com> | 2018-07-17 13:56:19 -0500 |
| commit | 33685c83fc9ee3a09b8041f52fa6b5158b8ee541 (patch) | |
| tree | 2ae24d69291a3dfe698de407c7be33f49c50de85 /taskflow | |
| parent | 22990d49b4bd6f020f67a6a39b8aa17a2819badb (diff) | |
| download | taskflow-33685c83fc9ee3a09b8041f52fa6b5158b8ee541.tar.gz | |
Update various links in docs
Avoid redirects, s/http/https/.
Change-Id: Id03bd49f250b48109967a0e04b92b75925f08932
Diffstat (limited to 'taskflow')
| -rw-r--r-- | taskflow/jobs/backends/impl_redis.py | 6 | ||||
| -rw-r--r-- | taskflow/jobs/backends/impl_zookeeper.py | 4 | ||||
| -rw-r--r-- | taskflow/utils/kazoo_utils.py | 16 |
3 files changed, 13 insertions, 13 deletions
diff --git a/taskflow/jobs/backends/impl_redis.py b/taskflow/jobs/backends/impl_redis.py index fca2699..7a006e2 100644 --- a/taskflow/jobs/backends/impl_redis.py +++ b/taskflow/jobs/backends/impl_redis.py @@ -253,9 +253,9 @@ class RedisJobBoard(base.JobBoard): claim is kept alive while it is being worked on by using the :py:meth:`~.RedisJob.extend_expiry` method periodically. - .. _msgpack: http://msgpack.org/ - .. _redis: http://redis.io/ - .. _hash: http://redis.io/topics/data-types#hashes + .. _msgpack: https://msgpack.org/ + .. _redis: https://redis.io/ + .. _hash: https://redis.io/topics/data-types#hashes """ CLIENT_CONF_TRANSFERS = tuple([ diff --git a/taskflow/jobs/backends/impl_zookeeper.py b/taskflow/jobs/backends/impl_zookeeper.py index dd2392e..6ee2222 100644 --- a/taskflow/jobs/backends/impl_zookeeper.py +++ b/taskflow/jobs/backends/impl_zookeeper.py @@ -211,7 +211,7 @@ class ZookeeperJob(base.Job): class ZookeeperJobBoard(base.NotifyingJobBoard): """A jobboard backed by `zookeeper`_. - Powered by the `kazoo <http://kazoo.readthedocs.org/>`_ library. + Powered by the `kazoo <https://kazoo.readthedocs.io/en/latest/>`_ library. This jobboard creates *sequenced* persistent znodes in a directory in zookeeper and uses zookeeper watches to notify other jobboards of @@ -244,7 +244,7 @@ class ZookeeperJobBoard(base.NotifyingJobBoard): specification .. _zookeeper: http://zookeeper.apache.org/ - .. _json: http://json.org/ + .. _json: https://json.org/ """ #: Transaction support was added in 3.4.0 so we need at least that version. diff --git a/taskflow/utils/kazoo_utils.py b/taskflow/utils/kazoo_utils.py index 4485b5a..20146b4 100644 --- a/taskflow/utils/kazoo_utils.py +++ b/taskflow/utils/kazoo_utils.py @@ -172,22 +172,22 @@ def make_client(conf): client with alternate async strategies (the default is `thread`_ based, but `gevent`_, or `eventlet`_ ones can be provided as needed) - .. _client: http://kazoo.readthedocs.org/en/latest/api/client.html - .. _kazoo: http://kazoo.readthedocs.org/ - .. _retry: http://kazoo.readthedocs.org/en/latest/api/retry.html - .. _gevent: http://kazoo.readthedocs.org/en/latest/api/\ + .. _client: https://kazoo.readthedocs.io/en/latest/api/client.html + .. _kazoo: https://kazoo.readthedocs.io/ + .. _retry: https://kazoo.readthedocs.io/en/latest/api/retry.html + .. _gevent: https://kazoo.readthedocs.io/en/latest/api/\ handlers/gevent.html - .. _eventlet: http://kazoo.readthedocs.org/en/latest/api/\ + .. _eventlet: https://kazoo.readthedocs.io/en/latest/api/\ handlers/eventlet.html - .. _thread: http://kazoo.readthedocs.org/en/latest/api/\ + .. _thread: https://kazoo.readthedocs.io/en/latest/api/\ handlers/threading.html """ - # See: http://kazoo.readthedocs.org/en/latest/api/client.html + # See: https://kazoo.readthedocs.io/en/latest/api/client.html client_kwargs = { 'read_only': bool(conf.get('read_only')), 'randomize_hosts': bool(conf.get('randomize_hosts')), } - # See: http://kazoo.readthedocs.org/en/latest/api/retry.html + # See: https://kazoo.readthedocs.io/en/latest/api/retry.html if 'command_retry' in conf: client_kwargs['command_retry'] = conf['command_retry'] if 'connection_retry' in conf: |
