Gnutella Forums

Gnutella Forums (https://www.gnutellaforums.com/)
-   Feature Requests & Bug Reports (https://www.gnutellaforums.com/feature-requests-bug-reports/)
-   -   Phexdownload.xml updated how often? (https://www.gnutellaforums.com/feature-requests-bug-reports/71174-phexdownload-xml-updated-how-often.html)

secret_squirrel June 7th, 2007 01:48 PM

Phexdownload.xml updated how often?
 
I currently use Phex 2.8.10.98 on WinXP SP2, I noticed that this version of Phex does NOT update the phexdownload.xml file nearly as often as the older versions. Is there a reason for this and if not, without closing Phex to force it to update the file, is there any way to ensure that it updates the file for me?

GregorK June 7th, 2007 04:22 PM

Phex 3.0.2 saves the download list every minute.. and is much more reliable with other download problems too....

You might like to update...

secret_squirrel June 7th, 2007 07:14 PM

Let's say I can't update for programming reasons (testing etc...); is there a way to make the phexdownload.xml update more often than it does now. It sometimes goes 20 minutes without an update and I am forced to close Phex which hoses all my keyword searches and relaunch to get the .xml updated.

Is there a .cfg file or other area that I can manually set it to update or is it hard coded into Phex?

GregorK June 8th, 2007 07:50 AM

There is nothing you can configure.
I don't know exactly what you are up to (testing etc...), but with some work you could merge some of changes from subversion.

You can also try to call:
SwarmingManager.getInstance().notifyDownloadListCh ange();
in DownloadEngine.startDownload() - Line 690


BTW: If you are patching, fixing, merging or changing any 2.8.10 code, some people here might be interested in getting this improvements, since 2.8.10 is the last version with Java 1.4 support. So let me know if you have anything that could be used for a 2.8.12

secret_squirrel June 8th, 2007 08:26 AM

I am NOT rewriting any code in 2.8.10.98, I just was trying to find out why the phexdownload.xml doesn't get updated anywhere near as often as it did in early version of Phex (one in particular that was faster was 2.0.0.76).

I don't know if Phex waits for idle time and then decides to update the file or not, I'm not a programmer. I am using 2.8.10.98 and won't update right now because of the Java compatibility issue.

If you could just give me some idea as to what I could do to ensure that the file would be written more often I would appreciate it. If possible...

Would stopping downloads or stopping text searches ensure that this file gets updated?

GregorK June 8th, 2007 08:48 AM

Phex is not waiting for idle time or anything, it was supposed to save the list when a certain size of data was downloaded, but it's not working correct in 2.8.10. Also there are some bigger open file and memory problems that might cause crashes.

Stopping and restarting a download could help... maybe..
What could help more is to add and remove a new dummy download from search, or from an URL via the New Download dialog. Something like http://phex.org should do it.

Phex 2.0 saved the download list differently, but it was generating problems with very large download list. They were taking very long to save and could get corrupted. The code was rewritten and new bugs introduced.


All times are GMT -7. The time now is 12:56 AM.

Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2024, vBulletin Solutions, Inc.
SEO by vBSEO 3.6.0 ©2011, Crawlability, Inc.

Copyright © 2020 Gnutella Forums.
All Rights Reserved.