?

Log in

No account? Create an account
February 17th, 2002 - LiveJournal Development [entries|archive|friends|userinfo]
LiveJournal Development

[ userinfo | livejournal userinfo ]
[ archive | journal archive ]

February 17th, 2002

(no subject) [Feb. 17th, 2002|02:13 am]
LiveJournal Development

lj_dev

[sameer]
there is a new python community here: python_dev
link1 comment|post comment

BML patch [Feb. 17th, 2002|07:11 pm]
LiveJournal Development

lj_dev

[supersat]
I whipped up a quick patch which prevents bmlp.pl from executing a code block indefinitely that could cause potential problems for the site. This patch adds an alarm which will stop a code block from executing if it's taking too long to complete.

Right now each page times out after about 7 seconds (based on the value in /htdocs/users), but if desired, I could modify it so that a the timeout time could be set by bmlp.cfg and/or the BML files themselves. This could be useful if there are some BML pages that should take longer than others to execute. BML files that should execute quickly would timeout quicker than those that could take a while to execute (such as credit card verification pages) under normal circumstances.

In addition, I was thinking it might be useful to log any timeouts and possibly output any debugging information into HTML comments so the admins would have an easier time tracking down problems where BML pages keep timing out.

The patch can be grabbed here. An example of it in action can be seen here (that file has a code block which goes into an infinite loop). It's been tested and appears to work just fine.
link11 comments|post comment

Brilliant Idea. [Feb. 17th, 2002|11:11 pm]
LiveJournal Development

lj_dev

[bananaxthebunch]
Is there anyway that for the "Find Users" thing you could find users by location? If it's already part of the user profile, would it be hard to do?

Just wondering.
-Alyssa
link8 comments|post comment

navigation
[ viewing | February 17th, 2002 ]
[ go | Previous Day|Next Day ]