From a51c46c3493e0806092d2b8c88fe13fea8ea0dd1 Mon Sep 17 00:00:00 2001 From: HolgerHatGarKeineNode Date: Thu, 23 Feb 2023 22:05:00 +0100 Subject: [PATCH] add nostr publishing --- app/Http/Livewire/News/ArticleOverview.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/Http/Livewire/News/ArticleOverview.php b/app/Http/Livewire/News/ArticleOverview.php index f942307b..217df147 100644 --- a/app/Http/Livewire/News/ArticleOverview.php +++ b/app/Http/Livewire/News/ArticleOverview.php @@ -90,7 +90,7 @@ class ArticleOverview extends Component ); //noscl publish "Good morning!" - $result = Process::run('noscl publish "'.$text.'"'); + $result = Process::timeout(60 * 5)->run('noscl publish "'.$text.'"'); if ($result->successful()) { $libraryItem->nostr = $result->output();