Closed mianharisali closed 7 years ago
Is this torrentSession
the same instance of SessionManager
? Can you link me to reproducible small program that I can test?
yes , same instance. it occurs randomly , some time it works some time it stop responding. on our old app some users complained that app was stuck at getting metadata , and we were not able to find the issue , then when were developing our 2nd app , we encountered that issue.
we still cannot reproduce the issue , it occurs randomly. but i will try to reproduce it and send you sample.
@aldenml sorry for this issue , it seems it was my fault. i was calling fetch magnet with 30000 seconds timeout. and if there are no peers it was waiting for timeout and stopped fetching other magnets. 1 question , it seems like it can fetch 1 magnet at a moment , is it supposed to work this way.? because if 1 fetch 2 magnets it waits for the 1st one to be fetched and then fetches the 2nd one.
for now i use new session to fetch magnet and other for downloading. fetching in same session causes too many problems.
I'm closing this issue because it's very old, but feel free to reopen if you can provide more info, you should be able to fetch more than one magnet at a time. Also, you may want to fine tune settings_pack.int_types.active_limit
with a reasonable high value.
This is really weird behaviour , we have 2 apps based on Jlibtorrent. if we call SessionManager.fetchmagnet immediately after creating the session , the app stop responding. if we use the following code it works fine.