summaryrefslogtreecommitdiff
path: root/config
diff options
context:
space:
mode:
authorhorus2022-01-03 14:55:54 +0100
committerhorus2022-01-03 14:55:54 +0100
commit0f94ba96bd39e48f5f7720ee62b028e2584ff96d (patch)
treef87f189f9cca1701eb6cc62afae0159ecab7034f /config
parent536b38a27f5ca16e40eb3de4d1fd8e6f1d25e924 (diff)
downloadsenpai-0f94ba96bd39e48f5f7720ee62b028e2584ff96d.tar.gz
Add queue monitor
Diffstat (limited to 'config')
-rw-r--r--config/queue-monitor.php31
1 files changed, 31 insertions, 0 deletions
diff --git a/config/queue-monitor.php b/config/queue-monitor.php
new file mode 100644
index 0000000..aec12cd
--- /dev/null
+++ b/config/queue-monitor.php
@@ -0,0 +1,31 @@
+<?php
+
+return [
+ /*
+ * Set the table to be used for monitoring data.
+ */
+ 'table' => 'queue_monitor',
+
+ /*
+ * Set the model used for monitoring.
+ * If using a custom model, be sure to implement the
+ * romanzipp\QueueMonitor\Models\Contracts\MonitorContract
+ * interface or extend the base model.
+ */
+ 'model' => \romanzipp\QueueMonitor\Models\Monitor::class,
+
+ /*
+ * The optional UI settings.
+ */
+ 'ui' => [
+ /*
+ * Set the monitored jobs count to be displayed per page.
+ */
+ 'per_page' => 35,
+
+ /*
+ * Show custom data stored on model
+ */
+ 'show_custom_data' => true,
+ ],
+];