summaryrefslogtreecommitdiff
path: root/config/queue-monitor.php
diff options
context:
space:
mode:
Diffstat (limited to 'config/queue-monitor.php')
-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,
+ ],
+];