mirror of
				https://github.com/NodeBB/NodeBB.git
				synced 2025-10-31 11:05:54 +01:00 
			
		
		
		
	perf: disable trending plugins, too slow due to nbbpm
This commit is contained in:
		| @@ -11,7 +11,8 @@ pluginsController.get = async function (req, res) { | |||||||
| 	const [compatible, all, trending] = await Promise.all([ | 	const [compatible, all, trending] = await Promise.all([ | ||||||
| 		getCompatiblePlugins(), | 		getCompatiblePlugins(), | ||||||
| 		getAllPlugins(), | 		getAllPlugins(), | ||||||
| 		plugins.listTrending(), | 		Promise.resolve([]), | ||||||
|  | 		//plugins.listTrending(), | ||||||
| 	]); | 	]); | ||||||
|  |  | ||||||
| 	const compatiblePkgNames = compatible.map(pkgData => pkgData.name); | 	const compatiblePkgNames = compatible.map(pkgData => pkgData.name); | ||||||
|   | |||||||
| @@ -3,7 +3,7 @@ | |||||||
| {{{ end }}} | {{{ end }}} | ||||||
| <ul class="nav nav-pills"> | <ul class="nav nav-pills"> | ||||||
| 	<li> | 	<li> | ||||||
| 		<a href="#trending" data-toggle="tab"> | 		<a href="#trending" data-toggle="tab" class="hidden"> | ||||||
| 			[[admin/extend/plugins:trending]] | 			[[admin/extend/plugins:trending]] | ||||||
| 			<i class="fa fa-star"></i> | 			<i class="fa fa-star"></i> | ||||||
| 		</a> | 		</a> | ||||||
|   | |||||||
		Reference in New Issue
	
	Block a user