{"action":"created","issue":{"url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/929","labels_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/929/labels{/name}","comments_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/929/comments","events_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/929/events","html_url":"https://github.com/nostra13/Android-Universal-Image-Loader/issues/929","id":60339363,"number":929,"title":"threadPoolSize(1) does not work","user":{"login":"kamilwlf","id":7765963,"avatar_url":"https://avatars.githubusercontent.com/u/7765963?v=3","gravatar_id":"","url":"https://api.github.com/users/kamilwlf","html_url":"https://github.com/kamilwlf","followers_url":"https://api.github.com/users/kamilwlf/followers","following_url":"https://api.github.com/users/kamilwlf/following{/other_user}","gists_url":"https://api.github.com/users/kamilwlf/gists{/gist_id}","starred_url":"https://api.github.com/users/kamilwlf/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/kamilwlf/subscriptions","organizations_url":"https://api.github.com/users/kamilwlf/orgs","repos_url":"https://api.github.com/users/kamilwlf/repos","events_url":"https://api.github.com/users/kamilwlf/events{/privacy}","received_events_url":"https://api.github.com/users/kamilwlf/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-03-09T12:59:51Z","updated_at":"2015-03-09T19:21:47Z","closed_at":null,"body":"```IImageLoaderConfiguration config\r\n                .threadPoolSize(1)\r\n        ImageLoader.getInstance().init(config);```\r\n\r\n```for(int i = 0;i<1000;i++)\r\nImageLoader.getInstance().loadImage(...)```\r\nand  `onLoadingStarted` is called 1000times before `onLoadingComplete`\r\n\r\nI expect only one thread in same time:\r\nonLoadingStarted\r\nonLoadingComplete\r\nonLoadingStarted\r\nonLoadingComplete\r\n\r\nnow is:\r\nonLoadingStarted\r\nonLoadingStarted\r\nonLoadingStarted x 970\r\nonLoadingComplete\r\nonLoadingComplete\r\nonLoadingComplete x 970\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/comments/77923300","html_url":"https://github.com/nostra13/Android-Universal-Image-Loader/issues/929#issuecomment-77923300","issue_url":"https://api.github.com/repos/nostra13/Android-Universal-Image-Loader/issues/929","id":77923300,"user":{"login":"nostra13","id":1223348,"avatar_url":"https://avatars.githubusercontent.com/u/1223348?v=3","gravatar_id":"","url":"https://api.github.com/users/nostra13","html_url":"https://github.com/nostra13","followers_url":"https://api.github.com/users/nostra13/followers","following_url":"https://api.github.com/users/nostra13/following{/other_user}","gists_url":"https://api.github.com/users/nostra13/gists{/gist_id}","starred_url":"https://api.github.com/users/nostra13/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/nostra13/subscriptions","organizations_url":"https://api.github.com/users/nostra13/orgs","repos_url":"https://api.github.com/users/nostra13/repos","events_url":"https://api.github.com/users/nostra13/events{/privacy}","received_events_url":"https://api.github.com/users/nostra13/received_events","type":"User","site_admin":false},"created_at":"2015-03-09T19:21:47Z","updated_at":"2015-03-09T19:21:47Z","body":"This is how listener works in UIL. `onLoadingStarted` is called when task is put into the queue but not when it actually starts."}}