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

Multiple servers #7

Open
KDercksen opened this issue Oct 7, 2017 · 2 comments
Open

Multiple servers #7

KDercksen opened this issue Oct 7, 2017 · 2 comments

Comments

@KDercksen
Copy link
Owner

This is related to #4, I'd also like to be able to handle multiple servers. Separate sockets will be needed for each server, so this is a little bit harder than just supporting multiple channels on one server.

@KDercksen
Copy link
Owner Author

The config file might take the following form:

[general]
servers = freenode,quakenet

[freenode]
host = irc.freenode.net
...

[quakenet]
host = irc.quakenet.org
...

The irc function can then be called for each of the specified servers, each one running in a separate thread (https://docs.python.org/3.6/library/multiprocessing.html might be interesting for this?).

@KDercksen
Copy link
Owner Author

In doubt about this one lol. I'll leave it open, but no guarantees that I'm gonna implement this. Who knows, maybe when I have some free time and some weird sudden need to dive deeper into multiprocessing 😄

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant