这个规则的主要目的是为了防止疯狂的发垃圾贴的行为,让删帖者不会手忙脚乱的
惩罚时间计数器
discipline_count = 0
last_time_stamp = 0
发帖/回帖时判断
cur_timestamp = time.now
discipline_time = discipline_count * n(可配置的惩罚时间)
if (cur_timestamp - last_time_stamp) > discipline_time then
允许发帖、回帖
discipline_count = 0;
else
discipline_count = discipline_count + 1
last_time_stamp = cur_timestamp
end
@huacnlee 可看看可否?