optimize pubsub.Publish function
optimize pubsub.Publish function

Signed-off-by: Shijiang Wei <d51735f6fb3b158a0436903895ceec01381bfb9f@gmail.com>

hustcat/docker,raja-sami-10p/moby,HuKeping/docker,michelvocks/docker,jzwlqx/denverdino.github.io,bdwill/docker.github.io,noironetworks/docker,docker-zh/docker.github.io,Altiscale/docker,Ramzec/docker,dccurtis/docker,yp-engineering/docker,moxiegirl/docker,eskaaren/docker,trebonian/docker,ckeyer/docker,kolyshkin/moby,darrenstahlmsft/moby,LaynePeng/docker,joaofnfernandes/docker.github.io,willmtemple/docker,runcom/docker,coreos/docker,mohmost12/docker,OnePaaS/docker,jvanz/docker,menglingwei/denverdino.github.io,cyphar/docker,rancher/docker,shishir-a412ed/docker,izarov/docker,denverdino/docker.github.io,crosbymichael/docker,joeuo/docker.github.io,flavio/docker,stainboy/docker,xiekeyang/docker,ZJU-SEL/docker,mgoelzer/docker,PatrickLang/moby,xuxinkun/docker,dsheets/moby,luxas/docker,sfsmithcha/docker,aduermael/docker.github.io,mtrmac/docker,YujiOshima/docker,runcom/docker,denverdino/denverdino.github.io,xuxinkun/docker,flavio/docker,jwhonce/docker,pramodhkp/moby,michelvocks/docker,laijs/moby,xuxinkun/docker,dgageot/docker,tmp6154/docker,djs55/docker,KarthikNayak/docker,thaJeztah/docker,kerneltime/docker,POLJM242/docker,xiaods/docker,diogomonica/docker,asbjornenge/docker,phiroict/docker,Tenk42/docker,eskaaren/docker,bfirsh/docker,thtanaka/docker,johnstep/moby-moby,YujiOshima/docker,JMesser81/docker,JimGalasyn/docker.github.io,allencloud/docker,konstruktoid/docker-upstream,gschaetz/moby,SvenDowideit/docker,afein/docker,DoraALin/docker,johnstep/docker.github.io,splunk/docker,dsau/docker,jongiddy/docker,sanscontext/docker.github.io,scotttlin/docker,anweiss/docker.github.io,estesp/docker,bdwill/docker.github.io,cyphar/docker,anweiss/docker.github.io,rhatdan/storage,thtanaka/docker,mikedougherty/docker,johnstep/docker.github.io,Shopify/docker,cnaize/docker,solganik/docker,alfred-landrum/docker,denverdino/denverdino.github.io,willmtemple/docker,phiroict/docker,dccurtis/docker,anortef/docker,mohmost12/docker,dmcgowan/docker,duglin/docker,docker/docker.github.io,tophj-ibm/docker,denverdino/docker.github.io,tagomoris/docker,charleszheng44/moby,sdurrheimer/docker,brahmaroutu/docker,troy0820/docker.github.io,HideoYamauchi/docker,jlebon/docker,nawawi/docker,rkazak/docker,jimjag/docker,endophage/docker,jc-m/docker,ibuildthecloud/docker,dims/docker,willmtemple/docker,dperny/docker,cyphar/docker,jvanz/docker,rhardih/docker,cpuguy83/docker,johnstep/docker.github.io,JimGalasyn/docker.github.io,ZJUshuaizhou/docker,cyli/docker,toli/docker,docker/docker.github.io,maxamillion/docker,tklauser/docker,inatatsu/docker,diogomonica/docker,HideoYamauchi/docker,gjaskiewicz/moby,phiroict/docker,shin-/docker.github.io,bdwill/docker.github.io,tophj-ibm/docker,q384566678/docker,cr7pt0gr4ph7/docker,13W/docker,sheimi/docker,shishir-a412ed/docker,AkihiroSuda/docker,dnephin/docker,mathewkoshy493/docker,alexisbellido/docker.github.io,luxas/docker,mikedougherty/docker,ffoysal/docker,maxamillion/docker,duglin/docker,jc-m/docker,harche/docker,Syntaxide/docker,raja-sami-10p/moby,aduermael/docker.github.io,liaoqingwei/docker,cmehay/docker-1,yp-engineering/docker,tonistiigi/docker,jlebon/docker,tophj-ibm/moby,ndeloof/docker,DoraALin/docker,akira-baruah/docker,13W/docker,haveatry/docker,pyotr777/docker,JimGalasyn/docker.github.io,brahmaroutu/docker,rremer/moby,BSWANG/denverdino.github.io,TheBigBear/docker,sdurrheimer/docker,KarthikNayak/docker,Ramzec/docker,whuwxl/docker,lixiaobing10051267/docker,fcrisciani/docker,LuisBosquez/docker.github.io,pradipd/moby,ivansaracino/docker,sanscontext/docker.github.io,amatsus/docker,konstruktoid/docker-upstream,dperny/docker,Mokolea/docker,tklauser/docker,menglingwei/denverdino.github.io,vdemeester/docker,fsoppelsa/docker,pramodhkp/moby,nawawi/docker,KingEmet/docker,whuwxl/docker,londoncalling/docker.github.io,charleszheng44/moby,Tenk42/docker,shin-/docker.github.io,justincormack/docker,jzwlqx/denverdino.github.io,SvenDowideit/docker,dims/docker,JimGalasyn/docker.github.io,vijaykilari/docker,ZJU-SEL/docker,kunalkushwaha/docker,achanda/docker,ajaymdesai/docker,rillig/docker.github.io,ColinHebert/docker,jthelin/docker,nalind/docker,cnaize/docker,laijs/moby,davinashreddy/docker,geekylucas/docker,moul/docker,TheBigBear/docker,danix800/docker.github.io,michelvocks/docker,hustcat/docker,projectatomic/docker,paralin/docker,gjaskiewicz/moby,lixiaobing1/docker,bdwill/docker.github.io,LuisBosquez/docker.github.io,tianon/docker,ndeloof/docker,dnephin/docker,erikh/docker,Syntaxide/docker,yummypeng/docker,moypray/docker,scotttlin/docker,AkihiroSuda/docker,dccurtis/docker,mtesselH/docker,kojiromike/docker,mike1729/docker,raja-sami-10p/moby,Microsoft/docker,anortef/docker,moypray/docker,mtrmac/docker,mohmost12/docker,nawawi/docker,shin-/docker.github.io,dsau/docker,darrenstahlmsft/docker,crosbymichael/docker,bluebreezecf/docker,coreos/docker,dsheets/moby,ajaymdesai/docker,sunyuan3/docker,vdemeester/docker,docker/docker,sean-jc/docker,BSWANG/denverdino.github.io,BenHall/docker,solganik/docker,errordeveloper/docker,nguyentm83/docker,alexisbellido/docker.github.io,maxamillion/docker,bonczj/moby-json-file-logger,darrenstahlmsft/moby,vdemeester/docker,mstanleyjones/docker,hypriot/docker,jwhonce/docker,charleswhchan/docker,bfirsh/docker,paralin/docker,bonczj/moby-json-file-logger,tkopczynski/docker,Altiscale/docker,tagomoris/docker,jongiddy/docker,pyotr777/docker,scollier/docker,konstruktoid/docker-1,TrumanLing/docker,gdevillele/docker.github.io,cloudflare/docker,13W/docker,runcom/docker,jc-m/docker,londoncalling/docker.github.io,jimjag/docker,BenHall/docker,thaJeztah/docker.github.io,ripcurld0/moby,rremer/moby,hqhq/moby,nghiant2710/docker,bearstech/moby,miminar/docker,unclejack/docker,projectatomic/docker,sarnautov/moby,jvanz/docker,Morsicus/docker,laijs/docker,ndeloof/docker,achanda/docker,sfsmithcha/docker,sean-jc/docker,LuisBosquez/docker.github.io,joaofnfernandes/docker.github.io,jhorwit2/docker,danix800/docker.github.io,portworx/docker,aduermael/docker.github.io,charleszheng44/moby,ZJUshuaizhou/docker,mtrmac/docker,mahak/docker,yongtang/docker,londoncalling/docker.github.io,pramodhkp/moby,catinthesky/docker,toli/docker,mtesselH/docker,charleswhchan/docker,shhsu/docker,jecarey/docker,Microsoft/docker,rkazak/docker,jameszhan/docker,isubuz/docker,afein/docker,ckeyer/docker,darrenstahlmsft/moby,scollier/docker,POLJM242/docker,estesp/docker,sterchelen/docker,tonistiigi/docker,trebonian/docker,kolyshkin/docker,mgoelzer/docker,tmp6154/docker,dmcgowan/docker,naveed-jamil-tenpearls/moby,mixja/docker,twaugh/docker,q384566678/docker,TrumanLing/docker,medallia/docker,qudongfang/docker,akira-baruah/docker,moby/moby,sanjeo/docker,errordeveloper/docker,prertik/docker,yasiramin10p/moby,gdevillele/docker.github.io,johnstep/docker.github.io,fsoppelsa/docker,bfirsh/docker,dongjoon-hyun/docker,hqhq/moby,yosifkit/docker,joaofnfernandes/docker.github.io,harche/docker,kolyshkin/moby,joeuo/docker.github.io,contiv/docker,twaugh/docker,gdevillele/docker.github.io,laijs/docker,thaJeztah/docker.github.io,jzwlqx/denverdino.github.io,naveed-jamil-tenpearls/moby,prertik/docker,anweiss/docker.github.io,harche/docker,brahmaroutu/docker,xiekeyang/docker,eskaaren/docker,lixiaobing1/docker,x1022as/docker,Mashimiao/docker,isubuz/docker,sarnautov/moby,denverdino/denverdino.github.io,gnailuy/docker,docker/docker.github.io,docker/docker,catinthesky/docker,gschaetz/moby,jameszhan/docker,yummypeng/docker,anujbahuguna/docker,joaofnfernandes/docker.github.io,trebonian/docker,haveatry/docker,noxiouz/docker,toli/docker,amatsus/docker,alfred-landrum/docker,AkihiroSuda/docker,qudongfang/docker,unclejack/docker,BSWANG/denverdino.github.io,bearstech/moby,mtesselH/docker,imkin/moby,solganik/docker,cloudflare/docker,YuPengZTE/docker,YuPengZTE/docker,pecameron/docker,thaJeztah/docker,noironetworks/docker,umerazad/docker,Tenk42/docker,cmehay/docker-1,x1022as/docker,ibuildthecloud/docker,ibuildthecloud/docker,abhinavdahiya/docker,mikebrow/docker,stevvooe/docker,icecrime/docker,erikstmartin/docker,moypray/docker,mstanleyjones/docker,yasiramin10p/moby,sunyuan3/docker,danyalKhaliq10p/moby,nguyentm83/docker,yp-engineering/docker,docker/docker,nalind/docker,dgageot/docker,danix800/docker.github.io,endophage/docker,anujbahuguna/docker,Mokolea/docker,ivansaracino/docker,paralin/docker,mahak/docker,HackToday/docker,sanscontext/docker.github.io,docker-zh/docker.github.io,13W/docker,troy0820/docker.github.io,sanjeo/docker,rhatdan/docker,cmehay/docker-1,johnstep/moby-moby,unclejack/docker,abhinavdahiya/docker,jhorwit2/docker,dmcgowan/docker,nghiant2710/docker,mkumatag/docker,gdevillele/docker.github.io,icaoweiwei/docker,estesp/docker,mgoelzer/docker,mikebrow/docker,gigidwan/docker,wenchma/docker,zhuguihua/docker,crosbymichael/docker,justyntemme/docker,darrenstahlmsft/docker,projectatomic/docker,srust/docker,Morsicus/docker,sterchelen/docker,shubheksha/docker.github.io,moul/docker,phiroict/docker,kencochrane/docker,johnstep/docker.github.io,BSWANG/denverdino.github.io,jzwlqx/denverdino.github.io,pecameron/docker,sunyuan3/docker,laijs/moby,izarov/docker,moxiegirl/docker,sanscontext/docker.github.io,naveed-jamil-tenpearls/moby,srust/docker,konstruktoid/docker-1,dnephin/docker,menglingwei/denverdino.github.io,cloudflare/docker,jzwlqx/denverdino.github.io,liaoqingwei/docker,denverdino/denverdino.github.io,portworx/docker,TheBigBear/docker,davinashreddy/docker,AkihiroSuda/docker,sanjeo/docker,cnaize/docker,justyntemme/docker,YujiOshima/docker,inatatsu/docker,madhanrm/docker,mathewkoshy493/docker,noironetworks/docker,JMesser81/docker,stevvooe/docker,ailispaw/docker,HuKeping/docker,mtanlee/docker,joeuo/docker.github.io,resin-io/docker,hqhq/moby,ibuildthecloud/docker,moxiegirl/docker,allencloud/docker,anortef/docker,menglingwei/denverdino.github.io,yummypeng/docker,miminar/docker,mike1729/docker,pecameron/docker,LaynePeng/docker,shhsu/docker,prertik/docker,bluebreezecf/docker,flavio/docker,cyli/docker,Syntaxide/docker,mixja/docker,thaJeztah/docker.github.io,jwhonce/docker,dims/docker,hypriot/docker,dongjoon-hyun/docker,jlebon/docker,msabansal/docker,errordeveloper/docker,kerneltime/docker,shubheksha/docker.github.io,LuisBosquez/docker.github.io,abhinavdahiya/docker,denverdino/docker.github.io,lixiaobing10051267/docker,yosifkit/docker,jlhawn/docker,icaoweiwei/docker,erikh/docker,alexisbellido/docker.github.io,sanscontext/docker.github.io,Mashimiao/docker,kojiromike/docker,Altiscale/docker,thaJeztah/docker,jthelin/docker,tpounds/docker,erikstmartin/docker,liaoqingwei/docker,tpounds/docker,stainboy/docker,HideoYamauchi/docker,dperny/docker,isubuz/docker,containers/storage,coolljt0725/docker,ivansaracino/docker,stevvooe/docker,ckeyer/docker,docker-zh/docker.github.io,imkin/moby,msabansal/docker,qudongfang/docker,kolyshkin/moby,icecrime/docker,danyalKhaliq10p/moby,thtanaka/docker,ailispaw/docker,ColinHebert/docker,containers/storage,flavio/docker,fcrisciani/docker,djs55/docker,docker/docker.github.io,whuwxl/docker,konstruktoid/docker-upstream,mtanlee/docker,troy0820/docker.github.io,joeuo/docker.github.io,mkumatag/docker,yosifkit/docker,gigidwan/docker,cpuguy83/docker,sterchelen/docker,q384566678/docker,sdurrheimer/docker,denverdino/denverdino.github.io,thaJeztah/docker.github.io,DoraALin/docker,Morsicus/docker,JimGalasyn/docker.github.io,resin-io/docker,davinashreddy/docker,scotttlin/docker,tonistiigi/docker,pradipd/moby,OnePaaS/docker,lixiaobing1/docker,ColinHebert/docker,jhorwit2/docker,coolljt0725/docker,umerazad/docker,gnailuy/docker,duglin/docker,rhatdan/docker,phiroict/docker,sarnautov/moby,OnePaaS/docker,wenchma/docker,kunalkushwaha/docker,cpuguy83/docker,KarthikNayak/docker,ffoysal/docker,yongtang/docker,cpuguy83/docker,mkumatag/docker,Mokolea/docker,medallia/docker,dgageot/docker,jimjag/docker,mstanleyjones/docker,Microsoft/docker,moul/docker,umerazad/docker,michael-holzheu/docker,madhanrm/docker,geekylucas/docker,splunk/docker,rancher/docker,yongtang/docker,KingEmet/docker,imkin/moby,laijs/docker,fsoppelsa/docker,joeuo/docker.github.io,mikebrow/docker,tkopczynski/docker,jlhawn/docker,jlhawn/docker,contiv/docker,asbjornenge/docker,diogomonica/docker,tkopczynski/docker,tpounds/docker,TrumanLing/docker,13W/docker,medallia/docker,alfred-landrum/docker,ZJUshuaizhou/docker,bearstech/moby,johnstep/moby-moby,dsau/docker,mixja/docker,kencochrane/docker,lixiaobing10051267/docker,yosifkit/docker,bdwill/docker.github.io,KingEmet/docker,alexisbellido/docker.github.io,gnailuy/docker,mtanlee/docker,YuPengZTE/docker,noxiouz/docker,shin-/docker.github.io,Ramzec/docker,sheimi/docker,yasiramin10p/moby,Shopify/docker,shubheksha/docker.github.io,ripcurld0/moby,nalind/docker,trebonian/docker,achanda/docker,srust/docker,pradipd/moby,miminar/docker,nghiant2710/docker,mathewkoshy493/docker,jecarey/docker,HackToday/docker,tmp6154/docker,londoncalling/docker.github.io,endophage/docker,kencochrane/docker,haveatry/docker,londoncalling/docker.github.io,thaJeztah/docker,ajaymdesai/docker,HackToday/docker,mahak/docker,rhatdan/storage,14rcole/docker,vijaykilari/docker,mahak/docker,sean-jc/docker,xiaods/docker,bonczj/moby-json-file-logger,charleswhchan/docker,coolljt0725/docker,denverdino/docker.github.io,hustcat/docker,michael-holzheu/docker,ffoysal/docker,stainboy/docker,konstruktoid/docker-1,madhanrm/docker,dsheets/moby,HuKeping/docker,zhuguihua/docker,moul/docker,shhsu/docker,rillig/docker.github.io,BenHall/docker,konstruktoid/docker-upstream,danyalKhaliq10p/moby,tophj-ibm/moby,justyntemme/docker,bluebreezecf/docker,sheimi/docker,luxas/docker,dongjoon-hyun/docker,erikh/docker,amatsus/docker,geekylucas/docker,noxiouz/docker,moby/moby,rhardih/docker,izarov/docker,rancher/docker,ripcurld0/moby,docker/docker.github.io,icecrime/docker,shubheksha/docker.github.io,aduermael/docker.github.io,BSWANG/denverdino.github.io,danix800/docker.github.io,vijaykilari/docker,allencloud/docker,rhatdan/storage,anweiss/docker.github.io,rremer/moby,paralin/docker,docker-zh/docker.github.io,jameszhan/docker,PatrickLang/moby,djs55/docker,tophj-ibm/docker,justincormack/docker,contiv/docker,xiekeyang/docker,rhatdan/docker,msabansal/docker,JMesser81/docker,joaofnfernandes/docker.github.io,fcrisciani/docker,anujbahuguna/docker,michael-holzheu/docker,thaJeztah/docker.github.io,LuisBosquez/docker.github.io,rillig/docker.github.io,afein/docker,SvenDowideit/docker,docker-zh/docker.github.io,Shopify/docker,coreos/docker,darrenstahlmsft/docker,tophj-ibm/moby,troy0820/docker.github.io,bearstech/moby,x1022as/docker,tianon/docker,alexisbellido/docker.github.io,wenchma/docker,xiaods/docker,catinthesky/docker,jongiddy/docker,tklauser/docker,cr7pt0gr4ph7/docker,rillig/docker.github.io,anweiss/docker.github.io,shubheksha/docker.github.io,containers/storage,twaugh/docker,tagomoris/docker,justincormack/docker,kerneltime/docker,medallia/docker,nawawi/docker,kolyshkin/docker,kojiromike/docker,resin-io/docker,Mashimiao/docker,cr7pt0gr4ph7/docker,menglingwei/denverdino.github.io,ibuildthecloud/docker,ailispaw/docker,zhuguihua/docker,rkazak/docker,gigidwan/docker,cyli/docker,sfsmithcha/docker,PatrickLang/moby,portworx/docker,shishir-a412ed/docker,moby/moby,Ramzec/docker,Mokolea/docker,moby/moby,mikedougherty/docker,denverdino/docker.github.io,LaynePeng/docker,gdevillele/docker.github.io,erikstmartin/docker,splunk/docker,shin-/docker.github.io,jimjag/docker,mike1729/docker,icaoweiwei/docker,gschaetz/moby,nalind/docker,asbjornenge/docker,14rcole/docker,pyotr777/docker,gjaskiewicz/moby,gnailuy/docker,hypriot/docker,inatatsu/docker,kunalkushwaha/docker