diff options
| -rw-r--r-- | .github/spellcheck-settings.yml | 29 | ||||
| -rw-r--r-- | .github/wordlist.txt | 99 | ||||
| -rw-r--r-- | .github/workflows/spellcheck.yml | 14 | ||||
| -rw-r--r-- | README.md | 8 | 
4 files changed, 146 insertions, 4 deletions
| diff --git a/.github/spellcheck-settings.yml b/.github/spellcheck-settings.yml new file mode 100644 index 0000000..b8ca6cc --- /dev/null +++ b/.github/spellcheck-settings.yml @@ -0,0 +1,29 @@ +matrix: +- name: Markdown +  expect_match: false +  apsell: +    lang: en +    d: en_US +    ignore-case: true +  dictionary: +    wordlists: +    - .github/wordlist.txt +    output: wordlist.dic +  pipeline: +  - pyspelling.filters.markdown: +      markdown_extensions: +      - markdown.extensions.extra: +  - pyspelling.filters.html: +      comments: false +      attributes: +      - alt +      ignores: +      - ':matches(code, pre)' +      - code +      - pre +      - blockquote +      - img +  sources: +  - 'README.md' +  - 'FAQ.md' +  - 'docs/**' diff --git a/.github/wordlist.txt b/.github/wordlist.txt new file mode 100644 index 0000000..244bf5b --- /dev/null +++ b/.github/wordlist.txt @@ -0,0 +1,99 @@ +ABI +ACLs +alloc +Allocator +allocators +antirez +api +APIs +ASYNC +asyncRedisContext +asyncronous +AUTOFREE +autoload +autoloader +autoloading +Autoloading +backend +backends +behaviour +boolean +CAS +Changelog +customizable +Customizable +CVE +dataset +de +deallocation +ElastiCache +extensibility +FPM +getaddrinfo +gmail +grunder +Grunder +hiredis +Hiredis +HIREDIS +hostname +IANA +IPv +IPV +keepalive +keyspace +keyspaces +KiB +libc +libev +libevent +localhost +Lua +michael +minimalistic +namespace +NOAUTOFREE +NOAUTOFREEREPLIES +NONBLOCK +Noordhuis +OpenSSL +Packagist +pcnoordhuis +PhpRedis +Pieter +pipelined +pipelining +pluggable +Predis +PRERELEASE +printf +PSR +PSUBSCRIBE +rb +Readme +README +rebalanced +rebalancing +redis +Redis +redisAsyncContext +redisContext +redisOptions +redisReader +reusability +REUSEADDR +runtime +Sanfilippo +SHA +sharding +SONAME +SSL +struct +stunnel +subelements +TCP +TLS +unparsed +UNSPEC +URI +variadic diff --git a/.github/workflows/spellcheck.yml b/.github/workflows/spellcheck.yml new file mode 100644 index 0000000..e152841 --- /dev/null +++ b/.github/workflows/spellcheck.yml @@ -0,0 +1,14 @@ +name: spellcheck +on: +  pull_request: +jobs: +  check-spelling: +    runs-on: ubuntu-latest +    steps: +      - name: Checkout +        uses: actions/checkout@v3 +      - name: Check Spelling +        uses: rojopolis/spellcheck-github-actions@0.33.1 +        with: +          config_path: .github/spellcheck-settings.yml +          task_name: Markdown @@ -28,11 +28,11 @@ The library comes with multiple APIs. There is the  * After v1.2.0 we modified how we invoke `poll(2)` to wait for connections to complete, such that we will now retry    the call if it is interrupted by a signal until: -  a) The connection succeeds or fails.   +  a) The connection succeeds or fails.    b) The overall connection timeout is reached. -  In previous versions, an interrupted `poll(2)` call would cause the connection to fail  -  with `c->err` set to `REDIS_ERR_IO` and `c->errstr` set to `poll(2): Interrupted system call`.   +  In previous versions, an interrupted `poll(2)` call would cause the connection to fail +  with `c->err` set to `REDIS_ERR_IO` and `c->errstr` set to `poll(2): Interrupted system call`.  ## Upgrading to `1.1.0` @@ -302,7 +302,7 @@ void redisFree(redisContext *c);  This function immediately closes the socket and then frees the allocations done in  creating the context. -### Sending commands (cont'd) +### Sending commands (continued)  Together with `redisCommand`, the function `redisCommandArgv` can be used to issue commands.  It has the following prototype: | 
