From: Adam R. <Ad...@Kn...> - 2003-02-13 20:33:16
|
Hi Yoz, Thanks for finding the bug in the documentation; I have checked in a new = INSTALL that walks people through running the Makefile to create = pubsub.js and kn_events. This will be bundled with the next tarball = when we get around to making the next tarball. Thanks for playing -- I think that's what we're all doing at = mod-pubsub-developer! Please do let us know if you're doing anything = interesting. As for questions, please ask the list so in case I'm busy someone else = can answer. As for the question of how to keep kn_events small, I have three = techniques: 1. Publish events with kn_expires header set to a low value. The = disadvantage to this technique is that the Perl pubsub server uses "lazy = evaluation" in determining when to remove things, so it may not remove = things as quickly as desired. 2. Use the Python pubsub server instead. Unfortunately, we don't = have it working with the JavaScript applications yet, so this technique = might take a while. 3. Manually delete files or directories within kn_events. This can = be automated. This is the technique I most often use. Keep asking questions, please... it's the only way we're gonna make the = system better... Thanks, Adam -----Original Message----- From: Yoz Grahame [mailto:yo...@yo...] Sent: Wednesday, February 12, 2003 7:28 PM To: Adam Rifkin Cc: kr...@po...; Ben Sittler Subject: Re: Bug in mod_pubsub 0.5 distribution Adam Rifkin wrote: > Hi Yoz, >=20 > Thanks for taking the time to check out the distribution. >=20 > Alternatively, you can run the Makefile at the top level and it will > generate a compressed pubsub.js for you -- much smaller for faster > delivery over the Internet. >=20 > Come to think of it, you'll need to run the Makefile to create a > kn_events directory anyway. Ah - I didn't know that. I did it by hand. Actually, the INSTALL file doesn't mention the Makefile. > If you tell me what your Sourceforge account is, I'll add you to the > "developers" group. Don't have one! It's okay, I'm mainly playing, though I have an idea for = a chat client that PS would be good for. I'll let you know if it gets=20 anywhere interesting (though I'll probably be plaguing you with dev=20 questions before then) Actually, here's my first dev question: what's the best way of stopping=20 my kn_events dir from getting massive? Do the files in it get physically = removed in accordance with the expiry dates on the messages? -- Yoz |