mirror of
https://github.com/anthonyraymond/joal.git
synced 2024-09-20 15:26:25 +08:00
Fix speed not being set on first announce event (bandwith dispatcher was not the first listener)
This commit is contained in:
parent
5101ab5431
commit
ec63efbe37
|
@ -81,8 +81,8 @@ public class Client implements AnnouncerEventListener, TorrentFileChangeAware {
|
|||
|
||||
private void addSeedingTorrent(final MockedTorrent torrent) {
|
||||
final Announcer announcer = new Announcer(torrent, this.self, this.bitTorrentClient, publisher);
|
||||
announcer.registerEventListener(this);
|
||||
announcer.registerEventListener(bandwidthDispatcher);
|
||||
announcer.registerEventListener(this);
|
||||
this.announcers.add(announcer);
|
||||
|
||||
logger.debug("Added announcer for Torrent {}", torrent.getName());
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
{
|
||||
"main.css": "static/css/main.efeb709c.css",
|
||||
"main.css.map": "static/css/main.efeb709c.css.map",
|
||||
"main.js": "static/js/main.deacd611.js",
|
||||
"main.js.map": "static/js/main.deacd611.js.map",
|
||||
"main.js": "static/js/main.f24ac9c8.js",
|
||||
"main.js.map": "static/js/main.f24ac9c8.js.map",
|
||||
"static\\media\\fontawesome-webfont.eot?v=4.7.0": "static/media/fontawesome-webfont.674f50d2.eot",
|
||||
"static\\media\\fontawesome-webfont.svg?v=4.7.0": "static/media/fontawesome-webfont.912ec66d.svg",
|
||||
"static\\media\\fontawesome-webfont.ttf?v=4.7.0": "static/media/fontawesome-webfont.b06871f2.ttf",
|
||||
|
|
|
@ -1 +1 @@
|
|||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="referrer" content="no-referrer"><meta name="robots" content="noindex, nofollow"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><title>JOAL ui - development build</title><link href="./static/css/main.efeb709c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/main.deacd611.js"></script></body></html>
|
||||
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><meta name="referrer" content="no-referrer"><meta name="robots" content="noindex, nofollow"><meta name="viewport" content="width=device-width,initial-scale=1,shrink-to-fit=no"><meta name="theme-color" content="#000000"><link rel="manifest" href="./manifest.json"><link rel="shortcut icon" href="./favicon.ico"><title>JOAL ui - development build</title><link href="./static/css/main.efeb709c.css" rel="stylesheet"></head><body><noscript>You need to enable JavaScript to run this app.</noscript><div id="root"></div><script type="text/javascript" src="./static/js/main.f24ac9c8.js"></script></body></html>
|
File diff suppressed because one or more lines are too long
2
src/main/resources/public/static/js/main.f24ac9c8.js
Normal file
2
src/main/resources/public/static/js/main.f24ac9c8.js
Normal file
File diff suppressed because one or more lines are too long
1
src/main/resources/public/static/js/main.f24ac9c8.js.map
Normal file
1
src/main/resources/public/static/js/main.f24ac9c8.js.map
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue