app/queue.yaml
author Daniel Hans <Daniel.M.Hans@gmail.com>
Mon, 17 Aug 2009 18:43:23 +0200
changeset 2779 db04432cb99a
parent 2655 7aedfa3e0dfd
child 2815 830267fe90e6
permissions -rw-r--r--
Argument to_json added to json function in Base view. Its value (which should be a boolean) determines if the data should be converted to a JSON object. Therefore if someone has already a JSON string and wants to return it in a HTTP response, he or she may set to_json=False and the object will not be converted.

# Copyright 2009 the Melange authors.
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
# 
#   http://www.apache.org/licenses/LICENSE-2.0
# 
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.

queue:

# queue used for tasks that send out mail
- name: mail
  rate: 1/s
  bucket_size: 1