mirror of
https://github.com/YGGverse/YGGstate.git
synced 2025-01-26 14:34:19 +00:00
add public peers info
This commit is contained in:
parent
228c8fc82f
commit
9cf3003507
@ -71,5 +71,12 @@ define('WEBSITE_PEER_REMOTE_PAGINATION_LIMIT', 20);
|
||||
|
||||
define('WEBSITE_PEER_PORT_CHECK_TIMEOUT', 60 * 5);
|
||||
|
||||
// Trackers
|
||||
define('TRACKER_PUBLIC_PEERS', (object)
|
||||
[
|
||||
'tls://94.140.114.241:4708',
|
||||
// ...
|
||||
]);
|
||||
|
||||
// Crawler
|
||||
define('CRAWL_STOP_DISK_QUOTA_MB_LEFT', 128);
|
@ -239,7 +239,15 @@ $results = $sphinx->searchPeers($requestQuery,
|
||||
<?php } else { ?>
|
||||
<tfoot>
|
||||
<tr>
|
||||
<td class="text-center"><?php echo _('Results not found') ?></td>
|
||||
<td class="text-center">
|
||||
<div class="margin-y-8"><?php echo _('not found') ?><div>
|
||||
<?php if (TRACKER_PUBLIC_PEERS) { ?>
|
||||
<div class="margin-y-8"><?php echo _('get yourself tracked by connection') ?><div>
|
||||
<?php foreach (TRACKER_PUBLIC_PEERS as $address) { ?>
|
||||
<div class="margin-y-8"><?php echo $address ?><div>
|
||||
<?php } ?>
|
||||
<?php } ?>
|
||||
</td>
|
||||
</tr>
|
||||
</tfoot>
|
||||
<?php } ?>
|
||||
|
Loading…
x
Reference in New Issue
Block a user