~cmiller/desktopcouch/fix-replication-getport-nouri

Viewing all changes in revision 130.

  • Committer: Tarmac
  • Author(s): Chad Miller
  • Date: 2010-03-01 14:43:30 UTC
  • mfrom: (123.3.14 get_port_through_dbus)
  • Revision ID: cmiller@hypatia-20100301144330-szhqs4uu6w429mqi
Even though we explained how to get the Desktopcuch listening port in docs ("use DBus"), we still exposed a python function that would get the port directly.  Python programmers seemed to use that instead.

The problem is that the DBus call starts the service, which has other supporting ancillary functions included, like replication, and soon, compaction.

So now, make the mis-used get_port method do what we want, and make a new private function that does the low-level work.

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: