librelist archives

« back to archive

Backward incompatible change

Backward incompatible change

From:
Loic d'Anterroches
Date:
2012-03-06 @ 17:16
Hello,

if you have a custom pull_addr in the configuration of your Photon
handler, you need to name it pull_addrs. Please note the added "s". This
is because now, Photon supports multiple servers in front of a single
handler process. Yeah! In your Mongrel2 configuration, do not forget to
set the recv_ident to the same as you send_ident for the filtering to
work correctly. For example:

hello_handler = Handler(send_spec='tcp://127.0.0.1:9997',
                       send_ident='34f9ceee-cd52-4b7f-b197-88bf2f0ec378',
                       recv_spec='tcp://127.0.0.1:9996',
		       recv_ident='34f9ceee-cd52-4b7f-b197-88bf2f0ec378')

It is important to have the same ident for both send and recv because
mongrel2 will send with the send_ident and subscribe to the answers from
the recv_ident.

The changes are in master.

loïc