Sat, 17 Feb 2024 15:36:09 +0100
demon.php: ease some db pressure by not querying old entries (7 days).
- replaced some rejects workaround by exclusions
- some moar debug msgs
0
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
1 | package BotSecrets; |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
2 | |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
3 | use strict; |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
4 | use warnings; |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
5 | |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
6 | use Exporter; |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
7 | our @ISA = qw/ Exporter /; |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
8 | our @EXPORT = qw/ $db_user $db_pw $bu $bp /; |
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
9 | |
1
ab6634389318
BotSecrets.pm-sample: add some comments to help to see which variable is what
Peter Gervai <grin@grin.hu>
parents:
0
diff
changeset
|
10 | # user/password for the toolserver db |
0
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
11 | our ($db_user, $db_pw) = ("s5****", "***"); |
1
ab6634389318
BotSecrets.pm-sample: add some comments to help to see which variable is what
Peter Gervai <grin@grin.hu>
parents:
0
diff
changeset
|
12 | |
ab6634389318
BotSecrets.pm-sample: add some comments to help to see which variable is what
Peter Gervai <grin@grin.hu>
parents:
0
diff
changeset
|
13 | # user/password for the user (or other bot) making the changes |
0
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
14 | our ($bu,$bp) = ('****', '****' ); |
1
ab6634389318
BotSecrets.pm-sample: add some comments to help to see which variable is what
Peter Gervai <grin@grin.hu>
parents:
0
diff
changeset
|
15 | |
0
3b714bbb1347
Add files without passwords and other unwanted fluff.
Peter Gervai <grin@grin.hu>
parents:
diff
changeset
|
16 | 1; |