check openhub url multi thread~

This commit is contained in:
waterbeach 2017-01-21 15:58:17 +08:00
parent 35286cb78b
commit 3631f4178b
1 changed files with 1 additions and 1 deletions

View File

@ -78,7 +78,7 @@ public class HandleOpenhubPrj implements Runnable{
public static void main(String [] args){ public static void main(String [] args){
ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/applicationContext*.xml"); ApplicationContext applicationContext = new ClassPathXmlApplicationContext("classpath:/applicationContext*.xml");
new Thread(new HandleOpenhubPrj("thread1",0,30000)).start(); new Thread(new HandleOpenhubPrj("thread1",6000,30000)).start();
new Thread(new HandleOpenhubPrj("thread2",30000,30000)).start(); new Thread(new HandleOpenhubPrj("thread2",30000,30000)).start();
new Thread(new HandleOpenhubPrj("thread3",60000,30000)).start(); new Thread(new HandleOpenhubPrj("thread3",60000,30000)).start();
new Thread(new HandleOpenhubPrj("thread4",90000,30000)).start(); new Thread(new HandleOpenhubPrj("thread4",90000,30000)).start();