[GH-ISSUE #410] Redis Socket #342

Closed
opened 2026-02-25 21:34:47 +03:00 by kerem · 7 comments
Owner

Originally created by @xiaoveiti on GitHub (Jun 23, 2020).
Original GitHub issue: https://github.com/cypht-org/cypht/issues/410

Originally assigned to: @jasonmunro on GitHub.

I love this mail/rss client. But is it possible to connect via socket to redis? Just found the port settings in the config file

Originally created by @xiaoveiti on GitHub (Jun 23, 2020). Original GitHub issue: https://github.com/cypht-org/cypht/issues/410 Originally assigned to: @jasonmunro on GitHub. I love this mail/rss client. But is it possible to connect via socket to redis? Just found the port settings in the config file
kerem 2026-02-25 21:34:47 +03:00
  • closed this issue
  • added the
    framework
    label
Author
Owner

@Yamakasi commented on GitHub (Jun 24, 2020):

Redis is just caching, what do you want/need ? Redis !== Reddit ;)

<!-- gh-comment-id:648775342 --> @Yamakasi commented on GitHub (Jun 24, 2020): Redis is just caching, what do you want/need ? Redis !== Reddit ;)
Author
Owner

@xiaoveiti commented on GitHub (Jun 24, 2020):

As I said, just connect via socket, not via port. I tried by setting the port to 0 and setting the server to the socket, ... but it doesn't work.

hm3.ini:

; Configure Redis details below to use it for caching
enable_redis=true
redis_server=/var/run/redis/redis.sock
redis_port=0
redis_index=5
redis_pass=
root@xf0:~# redis-cli -s /var/run/redis/redis.sock INFO | grep ^db
db2:keys=2957,expires=329,avg_ttl=284817133
db3:keys=936,expires=100,avg_ttl=41470665
db4:keys=52,expires=7,avg_ttl=78548700
<!-- gh-comment-id:648784502 --> @xiaoveiti commented on GitHub (Jun 24, 2020): As I said, just connect via socket, not via port. I tried by setting the port to 0 and setting the server to the socket, ... but it doesn't work. hm3.ini: ``` ; Configure Redis details below to use it for caching enable_redis=true redis_server=/var/run/redis/redis.sock redis_port=0 redis_index=5 redis_pass= ``` ``` root@xf0:~# redis-cli -s /var/run/redis/redis.sock INFO | grep ^db db2:keys=2957,expires=329,avg_ttl=284817133 db3:keys=936,expires=100,avg_ttl=41470665 db4:keys=52,expires=7,avg_ttl=78548700 ```
Author
Owner

@Yamakasi commented on GitHub (Jun 24, 2020):

OK, now I understand, why would you connect by socket ? Accesstime ?

<!-- gh-comment-id:649036111 --> @Yamakasi commented on GitHub (Jun 24, 2020): OK, now I understand, why would you connect by socket ? Accesstime ?
Author
Owner

@xiaoveiti commented on GitHub (Jun 25, 2020):

Safty, Accesstime and i dont have to deal with passwords ;) Works with wordpress and some other CMS like a charm. So I would like to keep my socket :D

<!-- gh-comment-id:649426706 --> @xiaoveiti commented on GitHub (Jun 25, 2020): Safty, Accesstime and i dont have to deal with passwords ;) Works with wordpress and some other CMS like a charm. So I would like to keep my socket :D
Author
Owner

@jasonmunro commented on GitHub (Jun 25, 2020):

@gxf0 Just pushed support for this. Pull the latest master branch, add a redis_socket=/path/to/file.sock to your hm3.ini file and rerun the config gen and you should be all set.

<!-- gh-comment-id:649763745 --> @jasonmunro commented on GitHub (Jun 25, 2020): @gxf0 Just pushed support for this. Pull the latest master branch, add a `redis_socket=/path/to/file.sock` to your hm3.ini file and rerun the config gen and you should be all set.
Author
Owner

@xiaoveiti commented on GitHub (Jun 26, 2020):

thanks a lot, I will check out later!

<!-- gh-comment-id:650139565 --> @xiaoveiti commented on GitHub (Jun 26, 2020): thanks a lot, I will check out later!
Author
Owner

@xiaoveiti commented on GitHub (Jun 26, 2020):

seems to be fixed :)

works like a charm :)

<!-- gh-comment-id:650139715 --> @xiaoveiti commented on GitHub (Jun 26, 2020): seems to be fixed :) works like a charm :)
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/cypht#342
No description provided.